File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -311,8 +311,7 @@ const writer = new ConsoleWriter();
311311printer .start (command ); // → "php vendor/bin/phpunit ..."
312312printer .testVersion (result ); // → "🚀 PHPUnit 11.5.0"
313313printer .testSuiteStarted (result ); // → "PASS App\Tests\ExampleTest"
314- printer .testFinished (result ); // → " ✓ test_add 3 ms"
315- printer .testFailed (result ); // → " ⨯ test_sub 5 ms"
314+ printer .testFinished (result ); // → " ✓ test_add 3 ms" (or " ⨯ test_sub 5 ms" for failures)
316315printer .testResultSummary (result ); // → "Tests: 1 failed, 3 passed (12 assertions)"
317316printer .timeAndMemory (result ); // → "Duration: 0.05s"
318317printer .close (); // flush deferred error details
Original file line number Diff line number Diff line change @@ -310,8 +310,7 @@ const writer = new ConsoleWriter();
310310printer .start (command ); // → "php vendor/bin/phpunit ..."
311311printer .testVersion (result ); // → "🚀 PHPUnit 11.5.0"
312312printer .testSuiteStarted (result ); // → "PASS App\Tests\ExampleTest"
313- printer .testFinished (result ); // → " ✓ test_add 3 ms"
314- printer .testFailed (result ); // → " ⨯ test_sub 5 ms"
313+ printer .testFinished (result ); // → " ✓ test_add 3 ms"(失敗時為 " ⨯ test_sub 5 ms")
315314printer .testResultSummary (result ); // → "Tests: 1 failed, 3 passed (12 assertions)"
316315printer .timeAndMemory (result ); // → "Duration: 0.05s"
317316printer .close (); // 清空延遲的錯誤詳情
You can’t perform that action at this time.
0 commit comments