Skip to content

Instantly share code, notes, and snippets.

@baldurrensch
Created July 31, 2013 17:40
Show Gist options
  • Save baldurrensch/6124270 to your computer and use it in GitHub Desktop.
Save baldurrensch/6124270 to your computer and use it in GitHub Desktop.
> Running command "phpunit --coverage-clover '/tmp/php-code-coverageMkj99j'"...
>
>
>
> [Symfony\Component\Process\Exception\ProcessFailedException]
> The command "phpunit --coverage-clover '/tmp/php-code-coverageMkj99j'" failed.
>
> Output:
> ================
> PHPUnit 3.7.22 by Sebastian Bergmann.
>
> Usage: phpunit [switches] UnitTest [UnitTest.php]
> phpunit [switches] <directory>
>
> --log-junit <file> Log test execution in JUnit XML format to file.
> --log-tap <file> Log test execution in TAP format to file.
> --log-json <file> Log test execution in JSON format.
>
> --coverage-clover <file> Generate code coverage report in Clover XML format.
> --coverage-html <dir> Generate code coverage report in HTML format.
> --coverage-php <file> Serialize PHP_CodeCoverage object to file.
> --coverage-text=<file> Generate code coverage report in text format.
> Default to writing to the standard output.
>
> --testdox-html <file> Write agile documentation in HTML format to file.
> --testdox-text <file> Write agile documentation in Text format to file.
>
> --filter <pattern> Filter which tests to run.
> --testsuite <pattern> Filter which testsuite to run.
> --group ... Only runs tests from the specified group(s).
> --exclude-group ... Exclude tests from the specified group(s).
> --list-groups List available test groups.
> --test-suffix ... Only search for test in files with specified
> suffix(es). Default: Test.php,.phpt
>
> --loader <loader> TestSuiteLoader implementation to use.
> --printer <printer> TestSuiteListener implementation to use.
> --repeat <times> Runs the test(s) repeatedly.
>
> --tap Report test execution progress in TAP format.
> --testdox Report test execution progress in TestDox format.
>
> --colors Use colors in output.
> --stderr Write to STDERR instead of STDOUT.
> --stop-on-error Stop execution upon first error.
> --stop-on-failure Stop execution upon first error or failure.
> --stop-on-skipped Stop execution upon first skipped test.
> --stop-on-incomplete Stop execution upon first incomplete test.
> --strict Run tests in strict mode.
> -v|--verbose Output more verbose information.
> --debug Display debugging information during test execution.
>
> --process-isolation Run each test in a separate PHP process.
> --no-globals-backup Do not backup and restore $GLOBALS for each test.
> --static-backup Backup and restore static attributes for each test.
>
> --bootstrap <file> A "bootstrap" PHP file that is run before the tests.
> -c|--configuration <file> Read configuration from XML file.
> --no-configuration Ignore default configuration file (phpunit.xml).
> --include-path <path(s)> Prepend PHP's include_path with given path(s).
> -d key[=value] Sets a php.ini value.
>
> -h|--help Prints this usage information.
> --version Prints the version and exits.
>
>
> Error Output:
> ================
>
>
>
>
> Exception trace:
> () at phar:///usr/bin/scrutinizer.phar/src/Scrutinizer/Analyzer/Php/CodeCoverageAnalyzer.php:53
> Scrutinizer\Analyzer\Php\CodeCoverageAnalyzer->scrutinize() at phar:///usr/bin/scrutinizer.phar/src/Scrutinizer/Scrutinizer.php:101
> Scrutinizer\Scrutinizer->scrutinize() at phar:///usr/bin/scrutinizer.phar/src/Scrutinizer/Cli/Command/RunCommand.php:53
> Scrutinizer\Cli\Command\RunCommand->execute() at phar:///usr/bin/scrutinizer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:244
> Symfony\Component\Console\Command\Command->run() at phar:///usr/bin/scrutinizer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:899
> Symfony\Component\Console\Application->doRunCommand() at phar:///usr/bin/scrutinizer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:191
> Symfony\Component\Console\Application->doRun() at phar:///usr/bin/scrutinizer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:121
> Symfony\Component\Console\Application->run() at phar:///usr/bin/scrutinizer.phar/bin/scrutinizer:16
> require() at /usr/bin/scrutinizer.phar:10
>
>
> run [-f|--format="..."] [--output-file="..."] [--path-file="..."] directory
Scrutinizer Run failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment