|
1 | 1 |
|
2 | | - FAIL Tests\ExampleTests\TestThatHasAllStatusesTest |
3 | | - ✓ success DURATION-IN-SECONDS |
4 | | - ⨯ fail DURATION-IN-SECONDS |
5 | | - ⨯ fail with diff DURATION-IN-SECONDS |
6 | | - ⨯ error DURATION-IN-SECONDS |
7 | | - ! risky → This test did not perform any assertions DURATION-IN-SECONDS |
8 | | - - skip → skipped DURATION-IN-SECONDS |
9 | | - … incomplete → incomplete DURATION-IN-SECONDS |
10 | | - |
11 | 2 | PASS Tests\ExampleTests\TestThatPassesTest |
12 | 3 | ✓ do basic assertions DURATION-IN-SECONDS |
13 | 4 | ✓ do some more assertions DURATION-IN-SECONDS |
14 | | - ─────────────────── |
15 | | - FAILED Tests\ExampleTests\TestThatHasAllStatusesTest > fail |
16 | | - Failed asserting that false is true. |
17 | | - |
18 | | - at tests/ExampleTests/TestThatHasAllStatusesTest.php:23 |
19 | | - 19▕ |
20 | | - 20▕ public function testFail(): void |
21 | | - 21▕ { |
22 | | - 22▕ usleep(self::SLEEP_IN_MICRO_SECONDS); |
23 | | - ➜ 23▕ $this->assertTrue(false); |
24 | | - 24▕ } |
25 | | - 25▕ |
26 | | - 26▕ public function testFailWithDiff(): void |
27 | | - 27▕ { |
28 | | - |
29 | | - 1 tests/ExampleTests/TestThatHasAllStatusesTest.php:23 |
30 | | - |
31 | | - ─────────────────── |
32 | | - FAILED Tests\ExampleTests\TestThatHasAllStatusesTest > fail with diff |
33 | | - Failed asserting that two arrays are equal. |
34 | | - Array ( |
35 | | - - 0 => 'one' |
36 | | - - 1 => 'two' |
37 | | - + 0 => 'two' |
38 | | - + 1 => 'one' |
39 | | - ) |
40 | | - |
41 | 5 |
|
42 | | - at tests/ExampleTests/TestThatHasAllStatusesTest.php:31 |
43 | | - 27▕ { |
44 | | - 28▕ usleep(self::SLEEP_IN_MICRO_SECONDS); |
45 | | - 29▕ $this->assertEquals( |
46 | | - 30▕ ['one', 'two'], |
47 | | - ➜ 31▕ ['two', 'one'] |
48 | | - 32▕ ); |
49 | | - 33▕ } |
50 | | - 34▕ |
51 | | - 35▕ public function testError(): void |
52 | | - |
53 | | - 1 tests/ExampleTests/TestThatHasAllStatusesTest.php:31 |
| 6 | + Tests: 2 passed (4 assertions) |
| 7 | + Duration: DURATION-IN-SECONDS |
54 | 8 |
|
| 9 | + Top 10 slowest tests: |
| 10 | + Tests\ExampleTests\TestThatPassesTest > do basic assertions DURATION-IN-SECONDS |
| 11 | + Tests\ExampleTests\TestThatPassesTest > do some more assertions DURATION-IN-SECONDS |
55 | 12 | ─────────────────── |
56 | | - FAILED Tests\ExampleTests\TestThatHasAllStatusesTest > error Exception |
57 | | - error |
58 | | - |
59 | | - at tests/ExampleTests/TestThatHasAllStatusesTest.php:38 |
60 | | - 34▕ |
61 | | - 35▕ public function testError(): void |
62 | | - 36▕ { |
63 | | - 37▕ usleep(self::SLEEP_IN_MICRO_SECONDS); |
64 | | - ➜ 38▕ throw new \Exception('error'); |
65 | | - 39▕ } |
66 | | - 40▕ |
67 | | - 41▕ public function testRisky(): void |
68 | | - 42▕ { |
69 | | - |
70 | | - 1 tests/ExampleTests/TestThatHasAllStatusesTest.php:38 |
71 | | - |
72 | | - |
73 | | - Tests: 3 failed, 1 risky, 1 incomplete, 1 skipped, 3 passed (7 assertions) |
74 | | - Duration: DURATION-IN-SECONDS |
| 13 | +(SOME-PERCENTAGE of DURATION-IN-SECONDS) DURATION-IN-SECONDS |
0 commit comments