commands.sh

atoum

all

A simple, modern, and intuitive unit testing framework for PHP.

More info →

Options (6)

-c, --configurationboolean

Run tests using the specified configuration file

Example: atoum {{[-c|--configuration]}} {{path/to/file}}
-f, --filesboolean

Run a specific test file

Example: atoum {{[-f|--files]}} {{path/to/file}}
-d, --directoriesboolean

Run a specific directory of tests

Example: atoum {{[-d|--directories]}} {{path/to/directory}}
--namespacesboolean

Run all tests under a specific namespace

Example: atoum {{[-ns|--namespaces]}} {{namespace}}
-t, --tagsboolean

Run all tests with a specific tag

Example: atoum {{[-t|--tags]}} {{tag}}
--bootstrap-fileboolean

Load a custom bootstrap file before running tests

Example: atoum {{[-bf|--bootstrap-file]}} {{path/to/file}}

Examples (8)

Initialize a configuration file

atoum --init

Run all tests

Run tests using the specified configuration file

atoum [-c|--configuration] path/to/file

Run a specific test file

atoum [-f|--files] path/to/file

Run a specific directory of tests

atoum [-d|--directories] path/to/directory

Run all tests under a specific namespace

atoum [-ns|--namespaces] namespace

Run all tests with a specific tag

atoum [-t|--tags] tag

Load a custom bootstrap file before running tests

atoum [-bf|--bootstrap-file] path/to/file
made by @shridhargupta | data from tldr-pages