You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?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:
The text was updated successfully, but these errors were encountered:
8749236
changed the title
Difficulty spotting test with warnings since they are marked with green checkmark
Request adding exclaimation mark to test with warnings to help spotting them
Nov 26, 2023
8749236
changed the title
Request adding exclaimation mark to test with warnings to help spotting them
Feature request: adding exclaimation mark to test with warnings to help spotting them
Nov 26, 2023
Indicating deprecations (from the PHPUnit options --display-deprecations and or --display-phpunit-deprecations) would also be helpful. Otherwise, after seeing all green checkmarks, I have to run phpunit on the command line to show these. Separate icons for warnings, deprecations, etc., would particularly helpful.
A test case with warning.
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:
The text was updated successfully, but these errors were encountered: