Skip to content

Instantly share code, notes, and snippets.

Created May 2, 2017 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d688406733a6bc84d7120efa6564409e to your computer and use it in GitHub Desktop.
Save anonymous/d688406733a6bc84d7120efa6564409e to your computer and use it in GitHub Desktop.
PHPUnit 4.8 && PHP 5.3.29
php53 /path/to/phpunit --configuration phpunit-config.xml --log-junit reports/phpunit.xml --verbose --process-isolation --no-globals-backup
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
bootstrap="/path/to/tests/bootstrap.php"
convertErrorsToExceptions="false"
convertNoticesToExceptions="false"
convertWarningsToExceptions="false">
<testsuites>
<testsuite name="Main Suite">
<directory>/pat/to/tests</directory>
</testsuite>
</testsuites>
</phpunit>
1) /path/to/tests/UnitTest::testSomething
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
/path/to/src/database.php:124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment