Fixed command to run coverage in README.md (#79)
This commit is contained in:
parent
c0ec50d6a5
commit
74361f1d71
@ -180,13 +180,13 @@ to collect code coverage. You can run your tests and collect coverage with the f
|
|||||||
|
|
||||||
```
|
```
|
||||||
#collect coverage for all tests
|
#collect coverage for all tests
|
||||||
composer exec codecept run --coverage-html --coverage-xml
|
composer exec codecept run -- --coverage-html --coverage-xml
|
||||||
|
|
||||||
#collect coverage only for unit tests
|
#collect coverage only for unit tests
|
||||||
composer exec codecept run unit --coverage-html --coverage-xml
|
composer exec codecept run unit -- --coverage-html --coverage-xml
|
||||||
|
|
||||||
#collect coverage for unit and functional tests
|
#collect coverage for unit and functional tests
|
||||||
composer exec codecept run functional,unit --coverage-html --coverage-xml
|
composer exec codecept run functional,unit -- --coverage-html --coverage-xml
|
||||||
```
|
```
|
||||||
|
|
||||||
You can see code coverage output under the `tests/_output` directory.
|
You can see code coverage output under the `tests/_output` directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user