2019-05-15 21:54:23 +01:00
|
|
|
# atoum
|
|
|
|
|
|
|
|
> A simple, modern and intuitive unit testing framework for PHP.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <http://atoum.org>.
|
2019-05-15 21:54:23 +01:00
|
|
|
|
2022-06-27 11:23:12 +01:00
|
|
|
- Initialize a configuration file:
|
2019-05-15 21:54:23 +01:00
|
|
|
|
|
|
|
`atoum --init`
|
|
|
|
|
|
|
|
- Run all tests:
|
|
|
|
|
|
|
|
`atoum`
|
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
- Run tests using the specified [c]onfiguration file:
|
2019-05-15 21:54:23 +01:00
|
|
|
|
|
|
|
`atoum -c {{path/to/file}}`
|
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
- Run a specific test [f]ile:
|
2019-05-15 21:54:23 +01:00
|
|
|
|
|
|
|
`atoum -f {{path/to/file}}`
|
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
- Run a specific [d]irectory of tests:
|
2019-05-15 21:54:23 +01:00
|
|
|
|
|
|
|
`atoum -d {{path/to/directory}}`
|
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
- Run all tests under a specific name[s]pace:
|
2019-05-15 21:54:23 +01:00
|
|
|
|
|
|
|
`atoum -ns {{namespace}}`
|
|
|
|
|
2024-02-09 14:34:08 +00:00
|
|
|
- Run all tests with a specific [t]ag:
|
2019-05-15 21:54:23 +01:00
|
|
|
|
|
|
|
`atoum -t {{tag}}`
|
|
|
|
|
|
|
|
- Load a custom bootstrap file before running tests:
|
|
|
|
|
|
|
|
`atoum --bootstrap-file {{path/to/file}}`
|