vscode-phpunit icon indicating copy to clipboard operation
vscode-phpunit copied to clipboard

Feature request: adding exclaimation mark to test with warnings to help spotting them

Open 8749236 opened this issue 1 year ago • 1 comments

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: image image

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: image

8749236 avatar Nov 26 '23 17:11 8749236