diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/SleeperTest.php index eaeb404f..e2cef54d 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/SleeperTest.php @@ -21,7 +21,7 @@ */ final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration() + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() { $milliseconds = 10; @@ -33,9 +33,9 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration() } /** - * @dataProvider provideMillisecondsGreaterThanDefaultMaximumDuration + * @dataProvider provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration */ - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds) + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds) { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -47,12 +47,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): \Generator + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 600, - 1000, - 100 + 100, + 300, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/phpunit.xml index 2798ca77..bd3fd096 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/phpunit.xml @@ -22,6 +22,9 @@ 3 + + 50 + diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/test.phpt b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/test.phpt index a9d70c5c..6f225d6c 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumCount/test.phpt @@ -17,14 +17,14 @@ PHPUnit\TextUI\Command::main(); ...... 6 / 6 (100%) -Detected 5 tests where the duration exceeded the global maximum duration (0.500). +Detected 5 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 -2 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 -3 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 +2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 +3 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/SleeperTest.php index 1af0bef5..5140073f 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/SleeperTest.php @@ -50,9 +50,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 1200, - 100 + 100, + 600, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/test.phpt b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/test.phpt index f328e752..55b42706 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/MaximumDuration/test.phpt @@ -17,20 +17,20 @@ PHPUnit\TextUI\Command::main(); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.100). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 - 2 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 - 3 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 - 4 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 - 5 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 - 6 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 - 7 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 - 8 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 - 9 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 -10 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/SleeperTest.php index c18e446e..0e39e7fc 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/SleeperTest.php @@ -21,7 +21,7 @@ */ final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration() + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() { $milliseconds = 10; @@ -33,9 +33,9 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration() } /** - * @dataProvider provideMillisecondsGreaterThanDefaultMaximumDuration + * @dataProvider provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration */ - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds) + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds) { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -47,12 +47,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): \Generator + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( + 100, 600, - 1600, - 100 + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/phpunit.xml index fb4485d9..4246dd05 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/phpunit.xml @@ -20,6 +20,9 @@ + + 50 + true diff --git a/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/test.phpt b/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/test.phpt index dd84d3dc..2424a04d 100644 --- a/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/Configuration/Stderr/test.phpt @@ -17,21 +17,21 @@ PHPUnit\TextUI\Command::main(); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.500). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #10 - 2 1.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #9 - 3 1.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #8 - 4 1.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #7 - 5 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #6 - 6 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #5 - 7 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 - 8 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 - 9 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 -10 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #1 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/SleeperTest.php index 3a4d4b71..f180ce07 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/SleeperTest.php @@ -50,9 +50,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/test.phpt index 983749f4..66b1a339 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/Bare/test.phpt @@ -15,12 +15,12 @@ PHPUnit\TextUI\Command::main(); --EXPECTF-- %a -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/SleeperTest.php index af787f20..720f6769 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/SleeperTest.php @@ -23,32 +23,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -56,7 +56,7 @@ protected function tearDown() */ public function sleepWithBeforeAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -64,7 +64,7 @@ public function sleepWithBeforeAnnotation() */ public function sleepWithBeforeClassAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -72,7 +72,7 @@ public function sleepWithBeforeClassAnnotation() */ public function sleepWithAfterAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -80,7 +80,7 @@ public function sleepWithAfterAnnotation() */ public static function sleepWithAfterClassAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -112,13 +112,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/test.phpt index c1b42cd5..7712676c 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/Combination/test.phpt @@ -16,13 +16,13 @@ PHPUnit\TextUI\Command::main(); %a ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 -3 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +3 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/SleeperTest.php index 9868c386..b37aa7c3 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithAfterAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/test.phpt index 3d7d3c67..5355846c 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php index fe7c7391..2d1a33cb 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithAfterClassAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/test.phpt index 6e232539..a44017ff 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAfterClassAnnotation/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/SleeperTest.php index a70ffb19..d6238b9b 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPostConditions() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/test.phpt index 62ffe050..b457fbce 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPostConditions/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/SleeperTest.php index 650f09f0..a22166ab 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPreConditions() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/test.phpt index 0c7efb12..9a2486f6 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithAssertPreConditions/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/SleeperTest.php index 02d7d174..431e1125 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithBeforeAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/test.phpt index 666b1787..5712af63 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php index fc14e994..c3cde78b 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithBeforeClassAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/test.phpt index 536cd193..b549d330 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithBeforeClassAnnotation/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/SleeperTest.php index 95d5d8b3..bec5dae8 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/SleeperTest.php @@ -50,13 +50,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/test.phpt index 7caa0e62..c900d929 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithDataProvider/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/SleeperTest.php index ddd53c21..ec2627a7 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function setUp() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/test.phpt index 86ee6fad..1bc64639 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUp/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php index c1448b09..3635ec85 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/test.phpt index 02ea0620..76a83a82 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithSetUpBeforeClass/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/SleeperTest.php index 6844d664..4ecf3cd5 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function tearDown() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/test.phpt index e4bbac27..2676c00d 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDown/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/SleeperTest.php index fe3d6ecd..01684151 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { public static function tearDownAfterClass() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration() @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): \Generator { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/test.phpt index 0ab3561f..ebc5cc6d 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestCase/WithTearDownAfterClass/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php index 3731a71d..bb884960 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php @@ -22,13 +22,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations() { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -38,13 +38,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations() { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt index ab1e0542..c3a77615 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php index f11fbfc0..6eb3d968 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php @@ -40,7 +40,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation() { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -50,7 +50,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation() { @@ -66,11 +66,11 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes /** * @dataProvider provideDataWhereDataNameIsInteger * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNumericDataProvider() { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -94,11 +94,11 @@ public static function provideDataWhereDataNameIsInteger(): array /** * @dataProvider provideDataWhereDataNameIsString * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNamedDataProvider() { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -120,11 +120,11 @@ public static function provideDataWhereDataNameIsString(): array } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation() { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt index 56f3cb01..42c0634d 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ...... 6 / 6 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php index 08aba5df..77d32608 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php @@ -23,32 +23,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -56,7 +56,7 @@ protected function tearDown() */ public function sleepWithBeforeAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -64,7 +64,7 @@ public function sleepWithBeforeAnnotation() */ public static function sleepWithBeforeClassAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -72,7 +72,7 @@ public static function sleepWithBeforeClassAnnotation() */ public function sleepWithAfterAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -80,7 +80,7 @@ public function sleepWithAfterAnnotation() */ public static function sleepWithAfterClassAnnotation() { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration() @@ -99,7 +99,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration( */ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation() { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -110,7 +110,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -124,7 +124,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation() { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt index bdef1b52..72f5dae6 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt @@ -22,15 +22,15 @@ PHPUnit\TextUI\Command::main(); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 2 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 3 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration 4 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php index 65252486..538cb05a 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php @@ -22,13 +22,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations() { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -38,13 +38,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations() { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt index 68da64cd..896b3c1a 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php index 959859ab..180ab6ff 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php @@ -44,7 +44,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation() { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -54,7 +54,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ @@ -70,13 +70,13 @@ public function testSleeperSleepsShorterThanSlowThresholdFromAnnotationWhenTestM } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ public function testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation() { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml index 0c9f18e2..296eac75 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt index 69544c22..12e5faac 100644 --- a/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit06/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); .... 4 / 4 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit06\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/SleeperTest.php index a3018264..3ee3e3d0 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/SleeperTest.php @@ -21,7 +21,7 @@ */ final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -33,9 +33,9 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void } /** - * @dataProvider provideMillisecondsGreaterThanDefaultMaximumDuration + * @dataProvider provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration */ - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -47,12 +47,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 600, - 1000, - 100 + 100, + 300, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/phpunit.xml index 8d614dce..b6f32c5e 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/phpunit.xml @@ -22,6 +22,9 @@ 3 + + 50 + diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/test.phpt b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/test.phpt index a23a3255..a1249add 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumCount/test.phpt @@ -17,14 +17,14 @@ PHPUnit\TextUI\Command::main(); ...... 6 / 6 (100%) -Detected 5 tests where the duration exceeded the global maximum duration (0.500). +Detected 5 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) -2 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) -3 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) +2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) +3 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/SleeperTest.php index 1fada542..6e4e86fe 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/SleeperTest.php @@ -50,9 +50,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 1200, - 100 + 100, + 600, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/test.phpt b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/test.phpt index f8f65a64..1ea886f7 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/MaximumDuration/test.phpt @@ -17,21 +17,21 @@ PHPUnit\TextUI\Command::main(); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.100). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (1200) - 2 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (1100) - 3 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (1000) - 4 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (900) - 5 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (800) - 6 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (700) - 7 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (600) - 8 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (500) - 9 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (400) -10 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/SleeperTest.php index f505ae9b..abf8d326 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/SleeperTest.php @@ -21,7 +21,7 @@ */ final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -33,9 +33,9 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void } /** - * @dataProvider provideMillisecondsGreaterThanDefaultMaximumDuration + * @dataProvider provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration */ - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -47,12 +47,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( + 100, 600, - 1600, - 100 + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/phpunit.xml index 0ce014b8..5974b7e7 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/phpunit.xml @@ -20,6 +20,9 @@ + + 50 + true diff --git a/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/test.phpt b/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/test.phpt index a45d0989..cdea8967 100644 --- a/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/Configuration/Stderr/test.phpt @@ -17,21 +17,21 @@ PHPUnit\TextUI\Command::main(); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.500). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #10 (1600) - 2 1.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #9 (1500) - 3 1.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #8 (1400) - 4 1.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #7 (1300) - 5 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #6 (1200) - 6 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #5 (1100) - 7 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) - 8 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) - 9 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) -10 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #1 (700) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/SleeperTest.php index 03f0819a..3a7dfcfd 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/SleeperTest.php @@ -50,9 +50,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/test.phpt index cf6fb4ba..810cf7b0 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/Bare/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/SleeperTest.php index bcc8d85d..94536768 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/SleeperTest.php @@ -23,32 +23,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -56,7 +56,7 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -64,7 +64,7 @@ public function sleepWithBeforeAnnotation(): void */ public function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -72,7 +72,7 @@ public function sleepWithBeforeClassAnnotation(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -80,7 +80,7 @@ public function sleepWithAfterAnnotation(): void */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -112,13 +112,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/test.phpt index fa60fb47..b0ffeb30 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/Combination/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/SleeperTest.php index 7578110a..d120d8fb 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/test.phpt index cee0cb1e..49210ca4 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php index 8223a0df..1aad268e 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/test.phpt index b9d684a2..2cd60fbf 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAfterClassAnnotation/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/SleeperTest.php index 522d1dca..dbe37bc5 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/test.phpt index b35a38d7..46b5d02e 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPostConditions/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/SleeperTest.php index ac750b37..47c09457 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/test.phpt index 9e0f7079..6344e2d0 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithAssertPreConditions/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/SleeperTest.php index 2e117c47..dbbc482c 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/test.phpt index 06ac76a1..32956972 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php index f2cbc029..18731917 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/test.phpt index f9033642..fb19e54e 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithBeforeClassAnnotation/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/SleeperTest.php index 7cbad88b..0ea16d96 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/SleeperTest.php @@ -50,13 +50,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/test.phpt index 6214d77c..2ee411fe 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithDataProvider/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/SleeperTest.php index d1e7bcdc..3b9c7f2a 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/test.phpt index cd473bea..92276992 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUp/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php index fde9bf3d..9333350f 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/test.phpt index 1349b369..475ede14 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithSetUpBeforeClass/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/SleeperTest.php index 31622b52..13413216 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/test.phpt index a3999599..80fa25d3 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDown/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/SleeperTest.php index 6427ff22..15cd6e09 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/test.phpt index 9d0104e8..2012973b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestCase/WithTearDownAfterClass/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php index 888e7142..dc159780 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php @@ -22,13 +22,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -38,13 +38,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt index 79bd7287..1f9f549b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php index ce6282a2..40177c81 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php @@ -40,7 +40,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -50,7 +50,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { @@ -66,11 +66,11 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes /** * @dataProvider provideDataWhereDataNameIsInteger * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNumericDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -94,11 +94,11 @@ public static function provideDataWhereDataNameIsInteger(): array /** * @dataProvider provideDataWhereDataNameIsString * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNamedDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -120,11 +120,11 @@ public static function provideDataWhereDataNameIsString(): array } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt index 48ef7cf4..8690bc9b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ...... 6 / 6 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php index a3e57667..9f8ba76b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php @@ -23,32 +23,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -56,7 +56,7 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -64,7 +64,7 @@ public function sleepWithBeforeAnnotation(): void */ public static function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -72,7 +72,7 @@ public static function sleepWithBeforeClassAnnotation(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -80,7 +80,7 @@ public function sleepWithAfterAnnotation(): void */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration(): void @@ -99,7 +99,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration( */ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -110,7 +110,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -124,7 +124,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt index 5670989f..707f52f9 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt @@ -22,15 +22,15 @@ PHPUnit\TextUI\Command::main(); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 2 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 3 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration 4 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php index b3e32086..faaa4324 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php @@ -22,13 +22,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -38,13 +38,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt index 0def4617..9b419385 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php index d49dd8cb..04bb6849 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php @@ -44,7 +44,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -54,7 +54,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ @@ -70,13 +70,13 @@ public function testSleeperSleepsShorterThanSlowThresholdFromAnnotationWhenTestM } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ public function testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml index 075863ae..5c22b08b 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml @@ -20,7 +20,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt index 7ce7907b..9541a093 100644 --- a/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit07/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); .... 4 / 4 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit07\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/SleeperTest.php index a6f39102..2f58c25c 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/SleeperTest.php @@ -21,7 +21,7 @@ */ final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -33,9 +33,9 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void } /** - * @dataProvider provideMillisecondsGreaterThanDefaultMaximumDuration + * @dataProvider provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration */ - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -47,12 +47,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 600, - 1000, - 100 + 100, + 300, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/phpunit.xml index 3004c61d..eebb4ed1 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/phpunit.xml @@ -24,6 +24,9 @@ 3 + + 50 + diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/test.phpt b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/test.phpt index 1953d53d..42b5a057 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumCount/test.phpt @@ -17,14 +17,14 @@ PHPUnit\TextUI\Command::main(); ...... 6 / 6 (100%) -Detected 5 tests where the duration exceeded the global maximum duration (0.500). +Detected 5 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) -2 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) -3 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) +2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) +3 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/SleeperTest.php index 531cc323..e25397ab 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/SleeperTest.php @@ -50,9 +50,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 1200, - 100 + 100, + 600, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/test.phpt b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/test.phpt index 25955569..f7d72864 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/MaximumDuration/test.phpt @@ -17,21 +17,21 @@ PHPUnit\TextUI\Command::main(); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.100). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (1200) - 2 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (1100) - 3 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (1000) - 4 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (900) - 5 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (800) - 6 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (700) - 7 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (600) - 8 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (500) - 9 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (400) -10 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/SleeperTest.php index 9818e4d2..8cf38ad0 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/SleeperTest.php @@ -21,7 +21,7 @@ */ final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -33,9 +33,9 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void } /** - * @dataProvider provideMillisecondsGreaterThanDefaultMaximumDuration + * @dataProvider provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration */ - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -47,12 +47,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( + 100, 600, - 1600, - 100 + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/phpunit.xml index 396ad870..0b2b1630 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/phpunit.xml @@ -22,6 +22,9 @@ + + 50 + true diff --git a/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/test.phpt b/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/test.phpt index b1aa80eb..6c85604e 100644 --- a/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/Configuration/Stderr/test.phpt @@ -17,21 +17,21 @@ PHPUnit\TextUI\Command::main(); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.500). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #10 (1600) - 2 1.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #9 (1500) - 3 1.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #8 (1400) - 4 1.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #7 (1300) - 5 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #6 (1200) - 6 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #5 (1100) - 7 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) - 8 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) - 9 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) -10 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #1 (700) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/SleeperTest.php index 23d5e377..7f4f016c 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/SleeperTest.php @@ -50,9 +50,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/test.phpt index 9c49c3ff..3b530dbb 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/Bare/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/SleeperTest.php index 8d8f3582..e5f1a646 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/SleeperTest.php @@ -23,32 +23,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -56,7 +56,7 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -64,7 +64,7 @@ public function sleepWithBeforeAnnotation(): void */ public function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -72,7 +72,7 @@ public function sleepWithBeforeClassAnnotation(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -80,7 +80,7 @@ public function sleepWithAfterAnnotation(): void */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -112,13 +112,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/test.phpt index 2eff7c27..5fcda108 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/Combination/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/SleeperTest.php index 6923ebda..d210748e 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/test.phpt index cf3116b0..ef40b951 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php index 4f9cf8b9..e695dd3d 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/test.phpt index 0c3b91cc..9c9a91fb 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAfterClassAnnotation/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/SleeperTest.php index ee12b216..289dc3a1 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/test.phpt index 22576ccb..95b9092e 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPostConditions/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/SleeperTest.php index 7f4b7d00..d3205d9f 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/test.phpt index ddb45de9..b16217f7 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithAssertPreConditions/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/SleeperTest.php index 667d0de7..dfae4244 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/test.phpt index e47e5740..ca66fb65 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php index 8d5b0fe2..96d0aa65 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/test.phpt index 2601ee9b..bbbae0dc 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithBeforeClassAnnotation/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/SleeperTest.php index 3038a342..8cb51e47 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/SleeperTest.php @@ -50,13 +50,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/test.phpt index 367ea0ae..3c72ec81 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithDataProvider/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/SleeperTest.php index 6c71593c..d1f69108 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/test.phpt index dfb72a81..9df718b3 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUp/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php index 57f56bb8..f2e15bd7 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/test.phpt index db08083b..73bbb202 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithSetUpBeforeClass/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/SleeperTest.php index 9e0c826d..7c6391b6 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/test.phpt index 9cd7a3f5..a8bd87ee 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDown/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/SleeperTest.php index e9b97507..f918abc7 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/test.phpt index 138a1871..d6b3a5ba 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestCase/WithTearDownAfterClass/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php index 099a675b..d4521be3 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php @@ -22,13 +22,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -38,13 +38,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt index 4d9d6b35..bd3a1dee 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php index e88f8008..702bace5 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php @@ -40,7 +40,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -50,7 +50,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { @@ -66,11 +66,11 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes /** * @dataProvider provideDataWhereDataNameIsInteger * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNumericDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -94,11 +94,11 @@ public static function provideDataWhereDataNameIsInteger(): array /** * @dataProvider provideDataWhereDataNameIsString * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNamedDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -120,11 +120,11 @@ public static function provideDataWhereDataNameIsString(): array } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt index a27460d9..b592997a 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ...... 6 / 6 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php index edecf0db..00ce74f9 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php @@ -23,32 +23,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -56,7 +56,7 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -64,7 +64,7 @@ public function sleepWithBeforeAnnotation(): void */ public static function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -72,7 +72,7 @@ public static function sleepWithBeforeClassAnnotation(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -80,7 +80,7 @@ public function sleepWithAfterAnnotation(): void */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration(): void @@ -99,7 +99,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration( */ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -110,7 +110,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -124,7 +124,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt index a2712ef9..23f9eca5 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt @@ -22,15 +22,15 @@ PHPUnit\TextUI\Command::main(); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 2 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 3 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration 4 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php index ffe0c379..f8f01c88 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php @@ -22,13 +22,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -38,13 +38,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt index ee00f48d..a1e30014 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php index 482b1d9f..eac2c009 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php @@ -44,7 +44,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -54,7 +54,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ @@ -70,13 +70,13 @@ public function testSleeperSleepsShorterThanSlowThresholdFromAnnotationWhenTestM } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ public function testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml index 1d4c5f9e..29689cc0 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt index 5463918e..28f11c64 100644 --- a/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit08/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); .... 4 / 4 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit08\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/SleeperTest.php index 13808b7c..671c0046 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/SleeperTest.php @@ -21,7 +21,7 @@ */ final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -33,9 +33,9 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void } /** - * @dataProvider provideMillisecondsGreaterThanDefaultMaximumDuration + * @dataProvider provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration */ - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -47,12 +47,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 600, - 1000, - 100 + 100, + 300, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/phpunit.xml index 479a8d74..b63e6d69 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/phpunit.xml @@ -24,6 +24,9 @@ 3 + + 50 + diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/test.phpt b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/test.phpt index 1fe6831d..6d056ac1 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumCount/test.phpt @@ -17,14 +17,14 @@ PHPUnit\TextUI\Command::main(); ...... 6 / 6 (100%) -Detected 5 tests where the duration exceeded the global maximum duration (0.500). +Detected 5 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) -2 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) -3 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) +2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) +3 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/SleeperTest.php index 25f02c58..0e7a78db 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/SleeperTest.php @@ -50,9 +50,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 1200, - 100 + 100, + 600, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/test.phpt b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/test.phpt index 5b5fab8a..bf6eebd0 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/MaximumDuration/test.phpt @@ -17,21 +17,21 @@ PHPUnit\TextUI\Command::main(); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.100). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (1200) - 2 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (1100) - 3 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (1000) - 4 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (900) - 5 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (800) - 6 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (700) - 7 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (600) - 8 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (500) - 9 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (400) -10 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/SleeperTest.php index c5272c5d..b7f9bc8f 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/SleeperTest.php @@ -21,7 +21,7 @@ */ final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -33,9 +33,9 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void } /** - * @dataProvider provideMillisecondsGreaterThanDefaultMaximumDuration + * @dataProvider provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration */ - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -47,12 +47,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( + 100, 600, - 1600, - 100 + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/phpunit.xml index bb0570f1..c19d5b04 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/phpunit.xml @@ -22,6 +22,9 @@ + + 50 + true diff --git a/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/test.phpt b/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/test.phpt index a2b05d47..6b0ccc62 100644 --- a/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/Configuration/Stderr/test.phpt @@ -17,21 +17,21 @@ PHPUnit\TextUI\Command::main(); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.500). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #10 (1600) - 2 1.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #9 (1500) - 3 1.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #8 (1400) - 4 1.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #7 (1300) - 5 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #6 (1200) - 6 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #5 (1100) - 7 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) - 8 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) - 9 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) -10 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #1 (700) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/SleeperTest.php index 16df0a93..ffb9825a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/SleeperTest.php @@ -50,9 +50,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/test.phpt index d0944d51..fd9dbcb8 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/Bare/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/SleeperTest.php index dbd9ae93..b352eab8 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/SleeperTest.php @@ -23,32 +23,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -56,7 +56,7 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -64,7 +64,7 @@ public function sleepWithBeforeAnnotation(): void */ public static function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -72,7 +72,7 @@ public static function sleepWithBeforeClassAnnotation(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -80,7 +80,7 @@ public function sleepWithAfterAnnotation(): void */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -112,13 +112,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/test.phpt index f35471e4..5176114c 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/Combination/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/SleeperTest.php index f23819c2..8a920f21 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/test.phpt index 2a457b41..558fa253 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php index 58fef6e8..c9f8cc01 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/test.phpt index b3bbdefa..9d1f3058 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAfterClassAnnotation/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/SleeperTest.php index f2f8c81a..4e7bcd82 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/test.phpt index 721bcb04..c0147da3 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPostConditions/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/SleeperTest.php index 1c327abd..743a4675 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/test.phpt index 98f53a48..005ae150 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithAssertPreConditions/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/SleeperTest.php index e1b7e0f9..ae23b91b 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/test.phpt index 0b176f74..35628653 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php index 450847a2..a5490a18 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php @@ -26,7 +26,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -58,9 +58,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/test.phpt index 9bff8728..38556902 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithBeforeClassAnnotation/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/SleeperTest.php index 6d5eb7d1..aa3e7cfd 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/SleeperTest.php @@ -50,13 +50,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/test.phpt index e4ef201a..3ebe6548 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithDataProvider/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/SleeperTest.php index 1ecaf151..3ce532d8 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/test.phpt index 59b1cbc1..ddaf7d0d 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUp/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php index ec789614..345a4b9f 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/test.phpt index 0e021293..43147f6b 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithSetUpBeforeClass/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/SleeperTest.php index eaacb890..7936df5d 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/test.phpt index fab8a303..21e57659 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDown/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/SleeperTest.php index 8affe12e..97b20d90 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/SleeperTest.php @@ -23,7 +23,7 @@ final class SleeperTest extends Framework\TestCase { public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -55,9 +55,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/test.phpt index 6bb26221..b0520a4f 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestCase/WithTearDownAfterClass/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php index 3981980f..0dd6879c 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php @@ -22,13 +22,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -38,13 +38,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt index 06d4f9ec..b52a1d4e 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php index f6a38d90..a3561af0 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php @@ -40,7 +40,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -50,7 +50,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { @@ -66,11 +66,11 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes /** * @dataProvider provideDataWhereDataNameIsInteger * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNumericDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -94,11 +94,11 @@ public static function provideDataWhereDataNameIsInteger(): array /** * @dataProvider provideDataWhereDataNameIsString * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNamedDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -120,11 +120,11 @@ public static function provideDataWhereDataNameIsString(): array } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt index e011efe4..eb51b727 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); ...... 6 / 6 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php index 378470c0..037dcf69 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php @@ -23,32 +23,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -56,7 +56,7 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -64,7 +64,7 @@ public function sleepWithBeforeAnnotation(): void */ public static function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -72,7 +72,7 @@ public static function sleepWithBeforeClassAnnotation(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -80,7 +80,7 @@ public function sleepWithAfterAnnotation(): void */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration(): void @@ -99,7 +99,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration( */ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -110,7 +110,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -124,7 +124,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt index f340e4dc..bf033ea4 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt @@ -22,15 +22,15 @@ PHPUnit\TextUI\Command::main(); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 2 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 3 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration 4 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php index e11c4c82..41bd7e5d 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php @@ -22,13 +22,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -38,13 +38,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt index 5008e18b..a20fc171 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt @@ -17,12 +17,12 @@ PHPUnit\TextUI\Command::main(); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php index ff9c2eed..1ff3a461 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php @@ -44,7 +44,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -54,7 +54,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ @@ -70,13 +70,13 @@ public function testSleeperSleepsShorterThanSlowThresholdFromAnnotationWhenTestM } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ public function testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml index 1db3d394..dd408b8a 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml @@ -22,7 +22,7 @@ - 100 + 50 diff --git a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt index 945bdf00..e64deb00 100644 --- a/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit09/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt @@ -17,13 +17,13 @@ PHPUnit\TextUI\Command::main(); .... 4 / 4 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit09\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/SleeperTest.php index f05754ad..b647c0b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/SleeperTest.php @@ -19,7 +19,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -30,8 +30,8 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanDefaultMaximumDuration')] - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration')] + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -43,12 +43,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 600, - 1000, - 100 + 100, + 300, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/phpunit.xml index 3e6d475a..f6dc2620 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/phpunit.xml @@ -24,6 +24,7 @@ + diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/test.phpt b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/test.phpt index 1ade8c56..f1425c74 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumCount/test.phpt @@ -19,14 +19,14 @@ $application->run($_SERVER['argv']); ...... 6 / 6 (100%) -Detected 5 tests where the duration exceeded the global maximum duration (0.500). +Detected 5 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) -2 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) -3 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) +2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) +3 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/SleeperTest.php index a5ce7db0..0bbb5861 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/SleeperTest.php @@ -46,9 +46,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 1200, - 100 + 100, + 600, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/phpunit.xml index dadbe8e9..e67c1755 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/phpunit.xml @@ -23,7 +23,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/test.phpt b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/test.phpt index dba6f29e..a1dd1b5e 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/MaximumDuration/test.phpt @@ -19,21 +19,21 @@ $application->run($_SERVER['argv']); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.100). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (1200) - 2 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (1100) - 3 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (1000) - 4 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (900) - 5 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (800) - 6 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (700) - 7 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (600) - 8 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (500) - 9 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (400) -10 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/SleeperTest.php index c5092280..4f8b4ed8 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/SleeperTest.php @@ -19,7 +19,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -30,8 +30,8 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanDefaultMaximumDuration')] - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration')] + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -43,12 +43,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( + 100, 600, - 1600, - 100 + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/phpunit.xml index 2b4ce1f5..686cc999 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/phpunit.xml @@ -23,7 +23,9 @@ stopOnSkipped="false" > - + + + diff --git a/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/test.phpt b/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/test.phpt index 0fcc6d72..a451d385 100644 --- a/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/Configuration/Stderr/test.phpt @@ -19,21 +19,21 @@ $application->run($_SERVER['argv']); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.500). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #10 (1600) - 2 1.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #9 (1500) - 3 1.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #8 (1400) - 4 1.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #7 (1300) - 5 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #6 (1200) - 6 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #5 (1100) - 7 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) - 8 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) - 9 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) -10 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #1 (700) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/Option/NoOutput/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/Option/NoOutput/SleeperTest.php index 4ec0bacc..17bc6ba7 100644 --- a/test/EndToEnd/PHPUnit10/Console/Option/NoOutput/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/Option/NoOutput/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit10/Console/Option/NoOutput/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/Option/NoOutput/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/Option/NoOutput/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/Option/NoOutput/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/SleeperTest.php index 454445a2..452d7e77 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/SleeperTest.php @@ -46,9 +46,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/test.phpt index 11f86b1a..6608aca7 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/Bare/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/SleeperTest.php index 774921a0..14f3efc3 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/SleeperTest.php @@ -21,32 +21,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -54,13 +54,13 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -68,7 +68,7 @@ public function sleepWithBeforeAttribute(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -76,19 +76,19 @@ public function sleepWithAfterAnnotation(): void */ public function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -96,13 +96,13 @@ public function sleepWithAfterAttribute(): void */ public function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -132,13 +132,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/test.phpt index 63eb2c0b..4d0f2438 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/Combination/test.phpt @@ -19,14 +19,14 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 1.%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 1.%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1 0.%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) 3 0.%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/SleeperTest.php index 6d4f7cd5..3527ec33 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/SleeperTest.php @@ -24,7 +24,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -54,9 +54,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/test.phpt index 2acb2aa4..5abf261d 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAnnotation/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/SleeperTest.php index 02a6fc83..6733b3db 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/test.phpt index 2aae5ca1..071f7525 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterAttribute/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php index 89c7f6ad..a28a28cf 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/SleeperTest.php @@ -24,7 +24,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -54,9 +54,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/test.phpt index b4eb28df..c363e5a0 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAnnotation/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/SleeperTest.php index d0a443ad..87c98fae 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/test.phpt index 70ec0724..4208fa5d 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAfterClassAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/SleeperTest.php index aee8896e..2d39aa59 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/test.phpt index 0c09e875..5c15fca9 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPostConditions/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/SleeperTest.php index 60f23c64..44e6fba4 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/test.phpt index bab994f6..47a2dfea 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithAssertPreConditions/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/SleeperTest.php index fdb3f0dd..c167e45c 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/SleeperTest.php @@ -24,7 +24,7 @@ final class SleeperTest extends Framework\TestCase */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -54,9 +54,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/test.phpt index 876e6d0d..35049276 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAnnotation/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/SleeperTest.php index e42f779a..44a54553 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/test.phpt index 5a86d4a9..d0d490f4 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeAttribute/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php index 6addcf7b..860e2088 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/SleeperTest.php @@ -24,7 +24,7 @@ final class SleeperTest extends Framework\TestCase */ public static function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -54,9 +54,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/test.phpt index 601694d6..fc2acf87 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAnnotation/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php index 36610fac..4f9f3fd4 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/test.phpt index 60410238..2775fced 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithBeforeClassAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/SleeperTest.php index 2012c3f5..2f157662 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/SleeperTest.php @@ -46,13 +46,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/test.phpt index f1ba2695..ca0edd44 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithDataProvider/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/SleeperTest.php index 8dac0564..ff825352 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/test.phpt index e25a685e..e10b9d44 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUp/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php index b436c284..f456be7e 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/test.phpt index a85ac630..99fec08c 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithSetUpBeforeClass/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/SleeperTest.php index 91bdb0b8..0ce8b04a 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/test.phpt index e5cf81de..083c4106 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDown/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/SleeperTest.php index 2c9afb91..4f80f0bf 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/test.phpt index f14a6431..47276341 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestCase/WithTearDownAfterClass/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php index 0a8f257a..4246ae0e 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php @@ -20,13 +20,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -36,13 +36,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt index fe03e8cd..63ed7b6d 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php index 91cd2120..495bf9f9 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php @@ -38,7 +38,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -48,7 +48,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { @@ -64,11 +64,11 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes /** * @dataProvider provideDataWhereDataNameIsInteger * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNumericDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -92,11 +92,11 @@ public static function provideDataWhereDataNameIsInteger(): array /** * @dataProvider provideDataWhereDataNameIsString * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNamedDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -118,11 +118,11 @@ public static function provideDataWhereDataNameIsString(): array } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt index 4c94e17a..93fecbf4 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ...... 6 / 6 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php index 4a14504e..3188ac2a 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php @@ -20,7 +20,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - #[Attribute\MaximumDuration(200)] + #[Attribute\MaximumDuration(100)] public function testSleeperSleepsShorterThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute(): void { $milliseconds = 10; @@ -32,10 +32,10 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAttributeWhenTest self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Attribute\MaximumDuration(200)] + #[Attribute\MaximumDuration(100)] public function testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/test.phpt index b1b5ab1d..6a1a39a8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithMaximumDurationAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithMaximumDurationAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithMaximumDurationAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php index 09ac672f..1d824459 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/SleeperTest.php @@ -21,32 +21,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -54,13 +54,13 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -68,13 +68,13 @@ public function sleepWithBeforeAttribute(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -82,13 +82,13 @@ public function sleepWithAfterAttribute(): void */ public function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -96,13 +96,13 @@ public function sleepWithBeforeClassAttribute(): void */ public function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration(): void @@ -121,7 +121,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration( */ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -132,7 +132,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -146,7 +146,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt index 877ba78c..da7fa469 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAnnotation/test.phpt @@ -24,15 +24,15 @@ $application->run($_SERVER['argv']); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 2 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAnnotation 3 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration 4 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithRunInSeparateProcessAnnotation\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php index 08bcbcc0..05e5b616 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php @@ -21,32 +21,32 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -54,13 +54,13 @@ protected function tearDown(): void */ public function sleepWithBeforeAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -68,13 +68,13 @@ public function sleepWithBeforeAttribute(): void */ public function sleepWithBeforeClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -82,13 +82,13 @@ public function sleepWithBeforeClassAttribute(): void */ public function sleepWithAfterAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } /** @@ -96,13 +96,13 @@ public function sleepWithAfterAttribute(): void */ public function sleepWithAfterClassAnnotation(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration(): void @@ -119,7 +119,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration( #[Framework\Attributes\RunInSeparateProcess] public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -130,7 +130,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -142,7 +142,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() #[Framework\Attributes\RunInSeparateProcess] public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt index 5be64d9e..c10e489a 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt @@ -24,15 +24,15 @@ $application->run($_SERVER['argv']); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 1 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithRunInSeparateProcessAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute 2 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithRunInSeparateProcessAttribute\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute 3 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithRunInSeparateProcessAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration 4 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithRunInSeparateProcessAttribute\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php index e5433c35..07fcbc00 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php @@ -20,13 +20,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -36,13 +36,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt index f5c59ae6..0aa7e408 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php index 27e2077b..01cebdbe 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php @@ -42,7 +42,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -52,7 +52,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ @@ -68,13 +68,13 @@ public function testSleeperSleepsShorterThanSlowThresholdFromAnnotationWhenTestM } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ public function testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml index a0214267..290213b8 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt index a7c439d9..f41a4bfa 100644 --- a/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit10/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); .... 4 / 4 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit10\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/SleeperTest.php index 97aea482..2e99c849 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/SleeperTest.php @@ -19,7 +19,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -30,8 +30,8 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanDefaultMaximumDuration')] - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration')] + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -43,12 +43,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 600, - 1000, - 100 + 100, + 300, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/phpunit.xml index 60f030ef..8c53fb61 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/phpunit.xml @@ -24,6 +24,7 @@ + diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/test.phpt b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/test.phpt index cc09bd48..df6b2db5 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumCount/test.phpt @@ -19,14 +19,14 @@ $application->run($_SERVER['argv']); ...... 6 / 6 (100%) -Detected 5 tests where the duration exceeded the global maximum duration (0.500). +Detected 5 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) -2 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) -3 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) +2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) +3 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/SleeperTest.php index 6c63d470..d6929e1e 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/SleeperTest.php @@ -46,9 +46,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 1200, - 100 + 100, + 600, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/phpunit.xml index b061b0ee..1fe41b22 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/phpunit.xml @@ -23,7 +23,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/test.phpt b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/test.phpt index aeed9d5e..d1ed2a8b 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/MaximumDuration/test.phpt @@ -19,21 +19,21 @@ $application->run($_SERVER['argv']); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.100). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (1200) - 2 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (1100) - 3 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (1000) - 4 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (900) - 5 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (800) - 6 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (700) - 7 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (600) - 8 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (500) - 9 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (400) -10 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/SleeperTest.php index c5ad0c2e..242de417 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/SleeperTest.php @@ -19,7 +19,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -30,8 +30,8 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanDefaultMaximumDuration')] - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration')] + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -43,12 +43,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( + 100, 600, - 1600, - 100 + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/phpunit.xml index c20c78c7..22fbe5ae 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/phpunit.xml @@ -23,7 +23,9 @@ stopOnSkipped="false" > - + + + diff --git a/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/test.phpt b/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/test.phpt index acd77d2d..ee55ba77 100644 --- a/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/Configuration/Stderr/test.phpt @@ -19,21 +19,21 @@ $application->run($_SERVER['argv']); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.500). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1 1.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #10 (1600) - 2 1.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #9 (1500) - 3 1.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #8 (1400) - 4 1.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #7 (1300) - 5 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #6 (1200) - 6 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #5 (1100) - 7 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #4 (1000) - 8 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #3 (900) - 9 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #2 (800) -10 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider with data set #1 (700) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #10 (600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #9 (550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #8 (500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #7 (450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #6 (400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #5 (350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #4 (300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #3 (250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #2 (200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/Option/NoOutput/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/Option/NoOutput/SleeperTest.php index 91ddabe3..b0da9fbf 100644 --- a/test/EndToEnd/PHPUnit11/Console/Option/NoOutput/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/Option/NoOutput/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit11/Console/Option/NoOutput/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/Option/NoOutput/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/Option/NoOutput/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/Option/NoOutput/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/SleeperTest.php index 7a52ddc8..b4ef33c7 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/SleeperTest.php @@ -46,9 +46,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/test.phpt index 10ba6fed..0cfc2818 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/Bare/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/SleeperTest.php index 7b9795ab..47abbefc 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/SleeperTest.php @@ -21,56 +21,56 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -100,13 +100,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/test.phpt index 7e2de25a..166f1618 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/Combination/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/SleeperTest.php index d3b2b27e..f6a4e64c 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/test.phpt index 5505d780..0aff28db 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterAttribute/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/SleeperTest.php index 3612a621..d7c7c11e 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/test.phpt index 09e5985d..f0c6dcd8 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAfterClassAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/SleeperTest.php index 3b0690fe..328e6041 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/test.phpt index 96d23c11..6537d850 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPostConditions/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/SleeperTest.php index 813560ed..076cee89 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/test.phpt index d1da5c01..dd51601a 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithAssertPreConditions/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/SleeperTest.php index b5262e42..69d09839 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/test.phpt index 732780ad..7f9d3493 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeAttribute/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php index f24ec100..9ab84da2 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/test.phpt index 62558ae4..dc8dd4e9 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithBeforeClassAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/SleeperTest.php index b39b4965..201ddd2e 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/SleeperTest.php @@ -46,13 +46,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/test.phpt index bf10aa52..3467a721 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithDataProvider/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/SleeperTest.php index 1ac31c29..dd66626e 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/test.phpt index 6622af65..2bb0d2f7 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUp/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php index 10933d09..5ce4b3c1 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/test.phpt index 79a04d45..4c4cb0f4 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithSetUpBeforeClass/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/SleeperTest.php index 61e3974b..ab8d71c4 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/test.phpt index 90ea79d7..834afcb1 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDown/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/SleeperTest.php index bc43f5d7..4879db55 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/test.phpt index b874ad22..84a5234b 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestCase/WithTearDownAfterClass/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1 (150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0 (100) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php index bb9b21e0..ea0e993e 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/SleeperTest.php @@ -20,13 +20,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -36,13 +36,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @maximumDuration 200 + * @maximumDuration 100 * - * @slowThreshold 400 + * @slowThreshold 200 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt index 766453a8..f690cbf6 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAndSlowThresholdAnnotations/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithMaximumDurationAndSlowThresholdAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php index 4c4be7b5..4d54070c 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/SleeperTest.php @@ -38,7 +38,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -48,7 +48,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { @@ -64,11 +64,11 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes /** * @dataProvider provideDataWhereDataNameIsInteger * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNumericDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -92,11 +92,11 @@ public static function provideDataWhereDataNameIsInteger(): array /** * @dataProvider provideDataWhereDataNameIsString * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWithNamedDataProvider(): void { - $milliseconds = 150; + $milliseconds = 75; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -118,11 +118,11 @@ public static function provideDataWhereDataNameIsString(): array } /** - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt index 52b141d5..6fb39363 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAnnotation/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ...... 6 / 6 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasValidMaximumDurationAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithMaximumDurationAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidMaximumDurationAnnotation ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php index 0e5d5fd9..b21ca857 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php @@ -20,7 +20,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - #[Attribute\MaximumDuration(200)] + #[Attribute\MaximumDuration(100)] public function testSleeperSleepsShorterThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute(): void { $milliseconds = 10; @@ -32,10 +32,10 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAttributeWhenTest self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Attribute\MaximumDuration(200)] + #[Attribute\MaximumDuration(100)] public function testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/test.phpt index 448842c7..6730ccd6 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithMaximumDurationAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithMaximumDurationAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithMaximumDurationAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php index 359f9005..d29545a8 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php @@ -21,61 +21,61 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -98,7 +98,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -110,7 +110,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() #[Framework\Attributes\RunInSeparateProcess] public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt index 9b12c1a0..87ee27f8 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt @@ -24,15 +24,15 @@ $application->run($_SERVER['argv']); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 1 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithRunInSeparateProcessAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute 2 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithRunInSeparateProcessAttribute\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute 3 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithRunInSeparateProcessAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration 4 %s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithRunInSeparateProcessAttribute\SleeperTest::testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php index adad336b..f92b2f7a 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/SleeperTest.php @@ -20,13 +20,13 @@ final class SleeperTest extends Framework\TestCase { /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -36,13 +36,13 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAnnotationWhenTes } /** - * @slowThreshold 400 + * @slowThreshold 200 * - * @maximumDuration 200 + * @maximumDuration 100 */ public function testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt index 3737f398..205b227b 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAndMaximumDurationAnnotations/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithSlowThresholdAndMaximumDurationAnnotations\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAnnotationWhenTestMethodHasMaximumDurationAndSlowThresholdAnnotations -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php index cae5a522..b617f000 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/SleeperTest.php @@ -42,7 +42,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW */ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -52,7 +52,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWh } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ @@ -68,13 +68,13 @@ public function testSleeperSleepsShorterThanSlowThresholdFromAnnotationWhenTestM } /** - * @slowThreshold 200 + * @slowThreshold 100 * * @see https://github.com/johnkary/phpunit-speedtrap/blob/1.0/src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php#L309-L331 */ public function testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml index fb452478..b88be4d3 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt index 5b6b2347..616cb2c1 100644 --- a/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt +++ b/test/EndToEnd/PHPUnit11/Console/TestMethod/WithSlowThresholdAnnotation/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); .... 4 / 4 (100%) -Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.100). +Detected 2 tests where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanSlowThresholdFromAnnotationWhenTestMethodHasValidSlowThresholdAnnotation +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit11\Console\TestMethod\WithSlowThresholdAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenTestMethodHasInvalidSlowThresholdAnnotation ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/SleeperTest.php index 4dcd3f24..5095438d 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/SleeperTest.php @@ -19,7 +19,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -30,8 +30,8 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanDefaultMaximumDuration')] - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration')] + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -43,12 +43,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 600, - 1000, - 100 + 100, + 300, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/phpunit.xml index dbf7287e..279dd1e3 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/phpunit.xml @@ -24,6 +24,7 @@ + diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/test.phpt b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/test.phpt index 33581fc4..c943ed53 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumCount/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ...... 6 / 6 (100%) -Detected 5 tests where the duration exceeded the global maximum duration (0.500). +Detected 5 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1000) -2 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(900) -3 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(800) +1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) +2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(250) +3 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/SleeperTest.php index acfc90a1..8fb697bc 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/SleeperTest.php @@ -46,9 +46,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 1200, - 100 + 100, + 600, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/phpunit.xml index af2e7938..17f328b4 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/phpunit.xml @@ -23,7 +23,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/test.phpt b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/test.phpt index 55c47e39..f7716a2d 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/MaximumDuration/test.phpt @@ -19,20 +19,20 @@ $application->run($_SERVER['argv']); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.100). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s - 1 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(1200) - 2 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(1100) - 3 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(1000) - 4 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(900) - 5 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(800) - 6 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(700) - 7 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(600) - 8 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(500) - 9 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(400) -10 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/SleeperTest.php index 684c3ab5..2e933f2b 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/SleeperTest.php @@ -19,7 +19,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -30,8 +30,8 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanDefaultMaximumDuration')] - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration')] + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -43,12 +43,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( + 100, 600, - 1600, - 100 + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/phpunit.xml index 14aa92b7..5caf2aaf 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/phpunit.xml @@ -23,7 +23,9 @@ stopOnSkipped="false" > - + + + diff --git a/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/test.phpt b/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/test.phpt index 7da7f4d4..887b0d42 100644 --- a/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/Configuration/Stderr/test.phpt @@ -19,20 +19,20 @@ $application->run($_SERVER['argv']); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.500). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s - 1 1.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1600) - 2 1.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1500) - 3 1.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1400) - 4 1.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1300) - 5 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1200) - 6 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1100) - 7 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1000) - 8 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(900) - 9 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(800) -10 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(700) + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/Option/NoOutput/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/Option/NoOutput/SleeperTest.php index ad8fdd8c..700eb47c 100644 --- a/test/EndToEnd/PHPUnit12/Console/Option/NoOutput/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/Option/NoOutput/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit12/Console/Option/NoOutput/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/Option/NoOutput/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/Option/NoOutput/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/Option/NoOutput/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/SleeperTest.php index df1d82d6..e8d5c46c 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/SleeperTest.php @@ -46,9 +46,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/test.phpt index 5d820104..ab1b2ec0 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/Bare/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/SleeperTest.php index 60e10787..afbf62ae 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/SleeperTest.php @@ -21,56 +21,56 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -100,13 +100,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/test.phpt index 6bf932d4..08b8fc6f 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/Combination/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/SleeperTest.php index e1818c10..088052a8 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/test.phpt index bd6e08c7..b9697491 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterAttribute/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/SleeperTest.php index 6d832005..2a249c68 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/test.phpt index ca406bde..6b649170 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAfterClassAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/SleeperTest.php index d03bda91..e633df94 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/test.phpt index 28f472b9..50fb9f0f 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPostConditions/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/SleeperTest.php index 1cdd1ef3..0f2ed2d7 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/test.phpt index 4b9d98b7..7857b7f5 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithAssertPreConditions/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/SleeperTest.php index a4dcdb01..24f0f0f8 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/test.phpt index f0a2c4e1..3345d0ad 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeAttribute/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php index 3f0f8780..5f60813d 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/test.phpt index 2005b57b..a5588e03 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithBeforeClassAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/SleeperTest.php index 84a38d88..b49a80c0 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/SleeperTest.php @@ -46,13 +46,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/test.phpt index 326c875b..52c30635 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithDataProvider/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/SleeperTest.php index d4b88a32..4af71f33 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/test.phpt index 8806ebd6..a03c909d 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUp/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php index eeebd1fc..81a1a632 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/test.phpt index 620fab0b..1190fd57 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithSetUpBeforeClass/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/SleeperTest.php index ea1e6212..fd40bd92 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/test.phpt index a216ddf6..4a659c30 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDown/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/SleeperTest.php index d52dd994..1a5c18b9 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/test.phpt index 3d15af05..cdc178f4 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestCase/WithTearDownAfterClass/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php index 976b3f92..c3f3fbef 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php @@ -20,7 +20,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - #[Attribute\MaximumDuration(200)] + #[Attribute\MaximumDuration(100)] public function testSleeperSleepsShorterThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute(): void { $milliseconds = 10; @@ -32,10 +32,10 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAttributeWhenTest self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Attribute\MaximumDuration(200)] + #[Attribute\MaximumDuration(100)] public function testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/test.phpt index 8393545b..5336b502 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithMaximumDurationAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestMethod\WithMaximumDurationAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit12\Console\TestMethod\WithMaximumDurationAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php index 19aea705..2262c1af 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php @@ -21,61 +21,61 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -98,7 +98,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -110,7 +110,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() #[Framework\Attributes\RunInSeparateProcess] public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml index 836afd7e..9b2c8938 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt index 60653d12..c2a3f2db 100644 --- a/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit12/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt @@ -24,7 +24,7 @@ $application->run($_SERVER['argv']); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/SleeperTest.php index 803a0735..46c612e2 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/SleeperTest.php @@ -19,7 +19,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -30,8 +30,8 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanDefaultMaximumDuration')] - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration')] + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -43,12 +43,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 600, - 1000, - 100 + 100, + 300, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/phpunit.xml index ef1f5274..53e0ae12 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/phpunit.xml @@ -24,6 +24,7 @@ + diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/test.phpt b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/test.phpt index dfe64b13..fe8d8d4e 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumCount/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ...... 6 / 6 (100%) -Detected 5 tests where the duration exceeded the global maximum duration (0.500). +Detected 5 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1000) -2 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(900) -3 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(800) +1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) +2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(250) +3 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumCount\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/SleeperTest.php index 36f01d2f..dcdfc772 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/SleeperTest.php @@ -46,9 +46,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 1200, - 100 + 100, + 600, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/phpunit.xml index 0df6a31f..59c08f1e 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/phpunit.xml @@ -23,7 +23,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/test.phpt b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/test.phpt index d94cbf9a..85164067 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/MaximumDuration/test.phpt @@ -19,20 +19,20 @@ $application->run($_SERVER['argv']); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.100). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s - 1 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(1200) - 2 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(1100) - 3 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(1000) - 4 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(900) - 5 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(800) - 6 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(700) - 7 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(600) - 8 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(500) - 9 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(400) -10 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\MaximumDuration\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/SleeperTest.php index eaccd18a..df48c872 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/SleeperTest.php @@ -19,7 +19,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - public function testSleeperSleepsLessThanDefaultMaximumDuration(): void + public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void { $milliseconds = 10; @@ -30,8 +30,8 @@ public function testSleeperSleepsLessThanDefaultMaximumDuration(): void self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanDefaultMaximumDuration')] - public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider(int $milliseconds): void + #[Framework\Attributes\DataProvider('provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration')] + public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider(int $milliseconds): void { $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -43,12 +43,12 @@ public function testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvide /** * @return \Generator */ - public static function provideMillisecondsGreaterThanDefaultMaximumDuration(): iterable + public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( + 100, 600, - 1600, - 100 + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/phpunit.xml index 6e56efca..0660e2c9 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/phpunit.xml @@ -23,7 +23,9 @@ stopOnSkipped="false" > - + + + diff --git a/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/test.phpt b/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/test.phpt index fcbe08a2..f6e804cd 100644 --- a/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/Configuration/Stderr/test.phpt @@ -19,20 +19,20 @@ $application->run($_SERVER['argv']); ............ 12 / 12 (100%) -Detected 11 tests where the duration exceeded the global maximum duration (0.500). +Detected 11 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s - 1 1.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1600) - 2 1.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1500) - 3 1.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1400) - 4 1.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1300) - 5 1.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1200) - 6 1.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1100) - 7 1.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(1000) - 8 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(900) - 9 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(800) -10 0.7%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanDefaultMaximumDurationWithDataProvider%s(700) + 1 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(600) + 2 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(550) + 3 0.5%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(500) + 4 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(450) + 5 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(400) + 6 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(350) + 7 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) + 8 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(250) + 9 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +10 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\Configuration\Stderr\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/Option/NoOutput/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/Option/NoOutput/SleeperTest.php index e7569ea4..3c58d348 100644 --- a/test/EndToEnd/PHPUnit13/Console/Option/NoOutput/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/Option/NoOutput/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit13/Console/Option/NoOutput/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/Option/NoOutput/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/Option/NoOutput/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/Option/NoOutput/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/SleeperTest.php index 6426fcd6..c57ee317 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/SleeperTest.php @@ -46,9 +46,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/test.phpt index 6bf39d1a..ea349065 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/Bare/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/SleeperTest.php index cf4b6ace..a84badc3 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/SleeperTest.php @@ -21,56 +21,56 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -100,13 +100,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/test.phpt index c2410215..5a8e6b28 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/Combination/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.9%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.8%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.6%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/SleeperTest.php index 8ef2f9a6..17b2a06e 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/test.phpt index 728efbfa..63254364 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterAttribute/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/SleeperTest.php index 4c2e5f0f..2cd33472 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/test.phpt index ac0c4a25..4f2c536a 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAfterClassAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAfterClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/SleeperTest.php index 5d65597e..28d7a419 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/test.phpt index 257418a9..2fd9cba1 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPostConditions/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/SleeperTest.php index 840b140f..8b75ff79 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/test.phpt index 3293da13..87961c6f 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithAssertPreConditions/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/SleeperTest.php index 3f626ac1..e618c37f 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/test.phpt index 4cde1472..2076c095 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeAttribute/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeAttribute\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php index 5b842819..7fcd2520 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/SleeperTest.php @@ -22,7 +22,7 @@ final class SleeperTest extends Framework\TestCase #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -52,9 +52,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/test.phpt index fa6ee09c..42cf60fc 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithBeforeClassAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithBeforeClassAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/SleeperTest.php index 21c8c98d..8c2d9761 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/SleeperTest.php @@ -46,13 +46,13 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); yield $value => [ $value, diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/test.phpt index 65da75e2..3539dabc 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithDataProvider/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithDataProvider\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/SleeperTest.php index 313b266b..50c7a555 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/test.phpt index 440644fa..e06f6dd2 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUp/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUp\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php index b1d3add9..827ea33c 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/test.phpt index 70e15f5d..3fdaff35 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithSetUpBeforeClass/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithSetUpBeforeClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/SleeperTest.php index d4c08c2f..4d4b84cf 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/test.phpt index abe3f1bc..3a296db3 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDown/test.phpt @@ -19,13 +19,13 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 3 tests where the duration exceeded the global maximum duration (0.100). +Detected 3 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.4%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) -3 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration +1 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) +3 0.0%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDown\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/SleeperTest.php index 8532ef68..cc965899 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/SleeperTest.php @@ -21,7 +21,7 @@ final class SleeperTest extends Framework\TestCase { public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration(): void @@ -51,9 +51,9 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWi public static function provideMillisecondsGreaterThanMaximumDurationFromXmlConfiguration(): iterable { $values = \range( - 200, - 300, - 100 + 100, + 150, + 50 ); foreach ($values as $value) { diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/test.phpt index 5c4be773..114236aa 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestCase/WithTearDownAfterClass/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); ... 3 / 3 (100%) -Detected 2 tests where the duration exceeded the global maximum duration (0.100). +Detected 2 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ---------%s -1 0.3%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(300) -2 0.2%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(200) +1 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(150) +2 0.1%s Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestCase\WithTearDownAfterClass\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider%s(100) ---------%s 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php index a00a5289..2a0b695b 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/SleeperTest.php @@ -20,7 +20,7 @@ #[Framework\Attributes\CoversClass(Test\Fixture\Sleeper::class)] final class SleeperTest extends Framework\TestCase { - #[Attribute\MaximumDuration(200)] + #[Attribute\MaximumDuration(100)] public function testSleeperSleepsShorterThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute(): void { $milliseconds = 10; @@ -32,10 +32,10 @@ public function testSleeperSleepsShorterThanMaximumDurationFromAttributeWhenTest self::assertSame($milliseconds, $sleeper->milliseconds()); } - #[Attribute\MaximumDuration(200)] + #[Attribute\MaximumDuration(100)] public function testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/test.phpt index ab8dca3a..44ef95b7 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithMaximumDurationAttribute/test.phpt @@ -19,12 +19,12 @@ $application->run($_SERVER['argv']); .. 2 / 2 (100%) -Detected 1 test where the duration exceeded a custom or the global maximum duration (0.100). +Detected 1 test where the duration exceeded a custom or the global maximum duration (0.050). # Duration Test Actual Maximum ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -1 0.3%s 0.200 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestMethod\WithMaximumDurationAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute +1 0.1%s 0.100 Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\PHPUnit13\Console\TestMethod\WithMaximumDurationAttribute\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromAttributeWhenTestMethodHasValidMaximumDurationAttribute ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.000 └─── seconds diff --git a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php index 68c0a992..44dbe85d 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php +++ b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/SleeperTest.php @@ -21,61 +21,61 @@ final class SleeperTest extends Framework\TestCase { public static function setUpBeforeClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public static function tearDownAfterClass(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function setUp(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPreConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function assertPostConditions(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } protected function tearDown(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\Before] public function sleepWithBeforeAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\BeforeClass] public static function sleepWithBeforeClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\After] public function sleepWithAfterAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } #[Framework\Attributes\AfterClass] public static function sleepWithAfterClassAttribute(): void { - Test\Fixture\Sleeper::fromMilliseconds(100)->sleep(); + Test\Fixture\Sleeper::fromMilliseconds(50)->sleep(); } public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 50; + $milliseconds = 25; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -98,7 +98,7 @@ public function testSleeperSleepsShorterThanMaximumDurationFromXmlConfigurationW public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration(): void { - $milliseconds = 200; + $milliseconds = 100; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); @@ -110,7 +110,7 @@ public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfiguration() #[Framework\Attributes\RunInSeparateProcess] public function testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWhenMethodHasRunInSeparateProcessAttribute(): void { - $milliseconds = 300; + $milliseconds = 150; $sleeper = Test\Fixture\Sleeper::fromMilliseconds($milliseconds); diff --git a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml index 3ffe6387..2f70f043 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml +++ b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/phpunit.xml @@ -22,7 +22,7 @@ > - + diff --git a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt index 4a581e8c..2370b5db 100644 --- a/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt +++ b/test/EndToEnd/PHPUnit13/Console/TestMethod/WithRunInSeparateProcessAttribute/test.phpt @@ -24,7 +24,7 @@ $application->run($_SERVER['argv']); .... 4 / 4 (100%) -Detected 4 tests where the duration exceeded the global maximum duration (0.100). +Detected 4 tests where the duration exceeded the global maximum duration (0.050). # Duration Test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------