Created
April 1, 2019 10:05
-
-
Save nickdavies791/9056801393531b0c9c578a00ca04f7d5 to your computer and use it in GitHub Desktop.
Useful snippet in PHPUnit to show which line caused the test to fail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit backupGlobals="false" | |
backupStaticAttributes="false" | |
bootstrap="vendor/autoload.php" | |
colors="true" | |
convertErrorsToExceptions="true" | |
convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" | |
processIsolation="false" | |
stopOnFailure="false"> | |
... | |
<listeners> | |
<listener class="NunoMaduro\Collision\Adapters\Phpunit\Listener" /> | |
</listeners> | |
... | |
</phpunit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment