[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Mar 4, 2018. It is now read-only.

atoum/autotoum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atoum

autotoum - atoum auto-loop mode

Check out the screencast of autotoum

Read the documentation at http://atoum.github.io/autotoum

Install autotoum

$ curl https://raw.github.com/atoum/autotoum/master/installer | php
$ ./autotoum -h

# Enjoy TDD !

Installer Usage

$ ./installer --usage
$ curl https://raw.github.com/atoum/autotoum/master/installer | php -- --usage
> autotoum installer
> atoum auto-loop mode
--global        : Install autotoum as a global command
--check         : Only run system requirements check

Environment :
AUTOTOUM_GIT_URL : Git repository (default : https://raw.github.com/atoum/autotoum/master/autotoum)
AUTOTOUM_PATH   : Installation directory (implies --global, default : /usr/share)
AUTOTOUM_SYMLINK : autotoum bin symlink path (implies --global, default: /usr/local/bin)

Examples :
$ curl https://raw.github.com/atoum/autotoum/master/installer | sudo php -- --global
$ curl https://raw.github.com/atoum/autotoum/master/installer | AUTOTOUM_PATH=/home/me php

How to use

$ autotoum -h
Usage : autotoum [-h] [-d] [-q] [-b path/to/atoum] [-w path/to/sources] [-- extra-args]
     -h : Display this message
     -q : Quiet mode (no output)
     -d : Background mode (no output)

     Path to atoum : path to atoum executable (defaults to bin/atoum)
     Path to sources : the watched files and/or directories (defaults to src, tests/units)
     Extra arguments : Extra arguments are forwarded to the atoum executable

     You can specify several files/directories to watch using a comma (,) separated list:
         $ autotoum -w src,tests/units/subset,tests/units/otherSubset -- -d tests/units
         # Use CTRL+C to quit

     Background mode:
         $ autotoum -d -w src,tests/units/subset,tests/units/otherSubset -- -d tests/units
         $ ...
         $ autotoum stop