Fixed command to run coverage in README.md (#79)

This commit is contained in:
Igor Romanov 2016-08-04 14:51:06 +07:00 committed by Carsten Brandt
parent c0ec50d6a5
commit 74361f1d71

View File

@ -180,13 +180,13 @@ to collect code coverage. You can run your tests and collect coverage with the f
```
#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
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
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.