vscode-phpunit
vscode-phpunit copied to clipboard
Feature request: adding exclaimation mark to test with warnings to help spotting them
A test case with warning.
<?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class SampleTest extends TestCase
{
public function testCase1()
{
$bytes .= 1;
$this->assertEquals(
1,
1
);
}
}
Run the test will show this:
Expected behavior:
When test result says there are issues or warnings, mark them with an exclaimation mark in yellow circle (or other symbols that you prefer).
If you can fish out the stack trace, it will be even better.
Example drawing: