diff --git a/.travis.yml b/.travis.yml index 03f4b5d..e7e847e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,4 +26,4 @@ install: script: - | php -S localhost:8080 -t web > /dev/null 2>&1 & - composer exec codecept run \ No newline at end of file + vendor/bin/codecept run \ No newline at end of file diff --git a/README.md b/README.md index c398b58..6f6d0a1 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ By default there are 3 test suites: Tests can be executed by running ``` -composer exec codecept run +vendor/bin/codecept run ``` The command above will execute unit and functional tests. Unit tests are testing the system components, while functional @@ -164,13 +164,13 @@ To execute acceptance tests do the following: ``` # run all available tests - composer exec codecept run + vendor/bin/codecept run # run acceptance tests - composer exec codecept run acceptance + vendor/bin/codecept run acceptance # run only unit and functional tests - composer exec codecept run unit,functional + vendor/bin/codecept run unit,functional ``` ### Code coverage support @@ -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 +vendor/bin/codecept run -- --coverage-html --coverage-xml #collect coverage only for unit tests -composer exec codecept run unit -- --coverage-html --coverage-xml +vendor/bin/codecept run unit -- --coverage-html --coverage-xml #collect coverage for unit and functional tests -composer exec codecept run functional,unit -- --coverage-html --coverage-xml +vendor/bin/codecept run functional,unit -- --coverage-html --coverage-xml ``` You can see code coverage output under the `tests/_output` directory.