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
- Introduced `showFQCN` parameter to control the display of fully qualified class names in test output.
- Updated README to include usage instructions for the new parameter.
- Enhanced `ExecutionTimeExtension` to format test names based on the `showFQCN` setting.
- Added unit tests to verify the functionality of the `showFQCN` parameter and its impact on test name formatting.
@@ -46,6 +47,7 @@ Add the extension to your `phpunit.xml.dist` or `phpunit.xml` file:
46
47
47
48
-**`topN`** (default: `10`): Number of slowest tests to display in the summary report
48
49
-**`showIndividualTimings`** (default: `false`): Whether to display timing for each test as it runs
50
+
-**`showFQCN`** (default: `true`): Whether to display fully qualified class names (FQCN) or just the class name. When set to `false`, only the class name without namespace will be shown (e.g., `MyTestClass::testMethod` instead of `Phauthentic\PHPUnit\ExecutionTiming\Tests\MyTestClass::testMethod`)
49
51
-**`warningThreshold`** (default: `1.0`): Time in seconds at which tests will be colored yellow (warning). Tests with execution time >= this value will be highlighted.
50
52
-**`dangerThreshold`** (default: `5.0`): Time in seconds at which tests will be colored red (danger). Tests with execution time >= this value will be highlighted in red. Tests between `warningThreshold` and `dangerThreshold` will be colored yellow.
51
53
@@ -122,6 +124,22 @@ This configuration will:
122
124
- Show yellow for tests taking 0.5 seconds or more
0 commit comments