phpunit-slow-test-detector icon indicating copy to clipboard operation
phpunit-slow-test-detector copied to clipboard

⏱️ Provides a composer package with an extension for detecting slow tests in phpunit/phpunit.

Results 9 phpunit-slow-test-detector issues
Sort by recently updated
recently updated
newest added

#### Steps required to reproduce the problem Basically the same as https://github.com/sebastianbergmann/phpunit/issues/5616 but for this extension. Something like https://github.com/sebastianbergmann/phpunit/commit/5d049893b805733369a72dab5b92556a1f665eb9#diff-0185eeda9f2d10b7587e9a551c2658419c534b49fa2a6dfe0dc0a72d294557ceR522 is needed. I would expected the data provider values to be...

This pull request adds the ability to generate a JUnit log file for slow tests. Currently, when reviewing a PR, one must go to the CI output to see if...

enhancement

I wonder whether this extension could also rank tests by there efficency, meaning not just a ranking by the runtime involved, but a separate ranking for e.g. memory usage. wdyt?

question

`TestCase::setUpBeforeClass` and `TestCasetearDownAfterClass` are not measured now and cannot be measured now, as currently the duration is measured per test. What about measuring these too and reporting it as `Cl::setUpBeforeClass`/`Cl::tearDownAfterClass`...

This pull request - [x] stops reporting the maximum duration for slow tests Replaces #379. /cc @mvorisek

bug

replaces #379 Now the global maximum duration is still reported, but only once - in the report header. It is now also clearer what the number in the parenthesis means,...

This pull request - [x] extracts `Seconds`

enhancement