-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed success progress indicator ('.') to be red after an error or …
…failure occurs.
- Loading branch information
Showing
5 changed files
with
64 additions
and
6 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--TEST-- | ||
Successful tests following a failure have coloured progress marker. | ||
|
||
--ARGS-- | ||
-c test --colors=always test/CapabilitiesTest --filter '::testSuccessAfterFailure\h' | ||
|
||
--FILE_EXTERNAL-- | ||
PHPUnit runner.php | ||
|
||
--EXPECTF-- | ||
PHPUnit %s | ||
|
||
25% . [32;1mScriptFUSIONTest\PHPUnitImmediateExceptionPrinter\CapabilitiesTest::testSuccessAfterFailure with data set #0 (true)[0m[32m (%i ms)[0m | ||
50% [31;1mF[0m [31;1mScriptFUSIONTest\PHPUnitImmediateExceptionPrinter\CapabilitiesTest::testSuccessAfterFailure with data set #1 (false)[0m[32m (%i ms)[0m | ||
|
||
[31mFailed asserting that false is true.[0m | ||
[31m[0m | ||
[31m%s%eCapabilitiesTest.php:%i[0m | ||
[31m[0m | ||
75% [31m.[0m [32;1mScriptFUSIONTest\PHPUnitImmediateExceptionPrinter\CapabilitiesTest::testSuccessAfterFailure with data set #2 (true)[0m[32m (%i ms)[0m | ||
100% [31m.[0m [32;1mScriptFUSIONTest\PHPUnitImmediateExceptionPrinter\CapabilitiesTest::testSuccessAfterFailure with data set #3 (true)[0m[32m (%i ms)[0m | ||
|
||
|
||
Time: %s | ||
|
||
There was 1 failure: | ||
|
||
1) ScriptFUSIONTest\PHPUnitImmediateExceptionPrinter\CapabilitiesTest::testSuccessAfterFailure with data set #1 (false) | ||
Failed asserting that false is true. | ||
|
||
%s%eCapabilitiesTest.php:%i | ||
|
||
[37;41mFAILURES![0m | ||
[37;41mTests: 4[0m[37;41m, Assertions: 4[0m[37;41m, Failures: 1[0m[37;41m.[0m |