mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Update test-running examples
This commit is contained in:
parent
11f4eed118
commit
ff9d437511
1 changed files with 4 additions and 2 deletions
|
@ -51,11 +51,13 @@ To run the test suite, you must have [Composer][d] installed as well as the comm
|
||||||
# first install dependencies
|
# first install dependencies
|
||||||
php composer.phar install
|
php composer.phar install
|
||||||
# run the tests
|
# run the tests
|
||||||
./tests/test
|
./robo test
|
||||||
|
# run the tests and produce a code coverage report in ./tests/coverage
|
||||||
|
./robo coverage
|
||||||
```
|
```
|
||||||
|
|
||||||
The example uses Unix syntax, but the test suite also runs in Windows. By default all tests are run; you can pass the same arguments to the test runner [as you would to PHPUnit][e]
|
The example uses Unix syntax, but the test suite also runs in Windows. By default all tests are run; you can pass the same arguments to the test runner [as you would to PHPUnit][e]
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
./tests/test --testsuite "Configuration"
|
./robo test --testsuite "Configuration"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue