tests: unexpected output

This commit is contained in:
Nuno Maduro
2023-06-15 14:06:54 +02:00
parent 0e5470b192
commit eb9f31edeb
8 changed files with 104 additions and 5 deletions

View File

@ -0,0 +1,20 @@
this is unexpected output
WARN Tests\Fixtures\UnexpectedOutput
! output → This test printed output: this is unexpected output
────────────────────────────────────────────────────────────────────────────
RISKY Tests\Fixtures\UnexpectedOutput > output
This test printed output: this is unexpected output
at src/Kernel.php:86
82▕ {
83▕ $args = CallsHandleArguments::execute($args);
84▕
85▕ try {
➜ 86▕ $this->application->run($args);
87▕ } catch (NoDirtyTestsFound) {
88▕ $this->output->writeln([
89▕ '',
90▕ ' INFO No tests found.',
Tests: 1 risky (1 assertions)