Runs PHPUnit tests against your build.
Has two modes:
Its activated if you have phpunit.xml file in your build path,
tests/ subfolder, or you specify it as a parameter:
--coverage-htmlcommand line flag.
Both modes accept:
Specify config file and test directory:
test: php_unit: config: - "path/to/phpunit.xml" path: "app/tests/"
If standard logging of PHPCI is not enough, to get standard output from any command, including PHPUnit, edit
BaseCommandExecutor::executeCommand() to see what exactly is wrong
composer updatein phpunit plugin directory of PHPCI to get all of its dependencies
The Xdebug extension is not loaded. No code coverage will be generated.Otherwise test report parsing in
TapParserwill fail, wanting coverage report as well
Invalid TAP string, number of tests does not match specified test count.
You can edit this page on Github. Your changes will appear on this site within 15 minutes.