-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95f5540
commit b37f39d
Showing
11 changed files
with
203 additions
and
24 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
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
2 changes: 1 addition & 1 deletion
2
..._testPrintWithMethodNameConversion__1.txt → ...__testPrettifyMethodNamesAtRunTime__1.txt
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
57 changes: 57 additions & 0 deletions
57
tests/__snapshots__/OutputTest__testPrettifyMethodNames__1.txt
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,57 @@ | ||
|
||
Runtime: PHPUnit SOME-PHPUNIT-VERSION using PHP SOME-PHP-VERSION (cli) on SOME-OS | ||
Configuration: tests/phpunit.test-prettify-method-names.xml | ||
|
||
FAIL Tests\ExampleTests\TestThatHasAllStatusesTest, 15 tests 88% | ||
✓ success [DURATION-IN-SECONDS] | ||
⨯ fail [DURATION-IN-SECONDS] | ||
⨯ fail with diff [DURATION-IN-SECONDS] | ||
⨯ error [DURATION-IN-SECONDS] | ||
✓ risky [DURATION-IN-SECONDS] | ||
! skip [DURATION-IN-SECONDS] | ||
! incomplete [DURATION-IN-SECONDS] | ||
✓ should convert title case to lower cased words [DURATION-IN-SECONDS] | ||
✓ should convert snake case to lower cased words [DURATION-IN-SECONDS] | ||
✓ can contain 1 or 99 numbers [DURATION-IN-SECONDS] | ||
✓ 123 can start or end with numbers 456 [DURATION-IN-SECONDS] | ||
✓ should preserve and pa tia pita zed words [DURATION-IN-SECONDS] | ||
✓ with named datasets with data set [DURATION-IN-SECONDS] | ||
✓ with named datasets with data set data set 2 [DURATION-IN-SECONDS] | ||
✓ with named datasets with data set set 3 [DURATION-IN-SECONDS] | ||
|
||
PASS Tests\ExampleTests\TestThatPassesTest, 2 tests 100% | ||
✓ do basic assertions [DURATION-IN-SECONDS] | ||
✓ do some more assertions [DURATION-IN-SECONDS] | ||
|
||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | ||
FAILED Tests\ExampleTests\TestThatHasAllStatusesTest::testFail PHPUnit\Framework\ExpectationFailedException | ||
Failed asserting that false is true. | ||
|
||
1▕ [1m/tests/ExampleTests/TestThatHasAllStatusesTest.php:19[0m | ||
|
||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | ||
FAILED Tests\ExampleTests\TestThatHasAllStatusesTest::testFailWithDiff PHPUnit\Framework\ExpectationFailedException | ||
Failed asserting that two arrays are equal. | ||
|
||
--- Expected | ||
+++ Actual | ||
@@ @@ | ||
Array ( | ||
- 0 => 'one' | ||
- 1 => 'two' | ||
+ 0 => 'two' | ||
+ 1 => 'one' | ||
) | ||
|
||
|
||
1▕ [1m/tests/ExampleTests/TestThatHasAllStatusesTest.php:26[0m | ||
|
||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | ||
FAILED Tests\ExampleTests\TestThatHasAllStatusesTest::testError Exception | ||
error | ||
|
||
1▕ [1m/tests/ExampleTests/TestThatHasAllStatusesTest.php:32[0m | ||
|
||
|
||
Tests: 1 error(s), 2 failed, 1 incomplete, 1 skipped, 12 passed (17 tests, 15 assertions) | ||
Duration: DURATION-IN-SECONDS |
38 changes: 38 additions & 0 deletions
38
tests/__snapshots__/OutputTest__testPrintCompactModeAtRunTime__1.txt
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,38 @@ | ||
|
||
Runtime: PHPUnit SOME-PHPUNIT-VERSION using PHP SOME-PHP-VERSION (cli) on SOME-OS | ||
Configuration: tests/phpunit.test.xml | ||
|
||
FAIL Tests\ExampleTests\TestThatHasAllStatusesTest, 15 tests 88% | ||
PASS Tests\ExampleTests\TestThatPassesTest, 2 tests 100% | ||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | ||
FAILED Tests\ExampleTests\TestThatHasAllStatusesTest::testFail PHPUnit\Framework\ExpectationFailedException | ||
Failed asserting that false is true. | ||
|
||
1▕ [1m/tests/ExampleTests/TestThatHasAllStatusesTest.php:19[0m | ||
|
||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | ||
FAILED Tests\ExampleTests\TestThatHasAllStatusesTest::testFailWithDiff PHPUnit\Framework\ExpectationFailedException | ||
Failed asserting that two arrays are equal. | ||
|
||
--- Expected | ||
+++ Actual | ||
@@ @@ | ||
Array ( | ||
- 0 => 'one' | ||
- 1 => 'two' | ||
+ 0 => 'two' | ||
+ 1 => 'one' | ||
) | ||
|
||
|
||
1▕ [1m/tests/ExampleTests/TestThatHasAllStatusesTest.php:26[0m | ||
|
||
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | ||
FAILED Tests\ExampleTests\TestThatHasAllStatusesTest::testError Exception | ||
error | ||
|
||
1▕ [1m/tests/ExampleTests/TestThatHasAllStatusesTest.php:32[0m | ||
|
||
|
||
Tests: 1 error(s), 2 failed, 1 incomplete, 1 skipped, 12 passed (17 tests, 15 assertions) | ||
Duration: DURATION-IN-SECONDS |
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