Skip to content

Commit 8ff9c0b

Browse files
authored
Merge pull request #689 from ergebnis/fix/lowest-highest
Fix: Focus on relevant output in end-to-end tests
2 parents bf575ea + 4f51404 commit 8ff9c0b

File tree

151 files changed

+302
-1061
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+302
-1061
lines changed

test/EndToEnd/Version06/Configuration/Defaults/test.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/Configuration/Defaults/phpunit.xml
16+
%a
2017

2118
............ 12 / 12 (100%)
2219

@@ -35,6 +32,4 @@ Detected 11 tests where the duration exceeded the maximum duration.
3532

3633
There is 1 additional slow test that is not listed here.
3734

38-
Time: %s, Memory: %s
39-
40-
OK (12 tests, 12 assertions)
35+
%a

test/EndToEnd/Version06/Configuration/MaximumCount/test.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/Configuration/MaximumCount/phpunit.xml
16+
%a
2017

2118
...... 6 / 6 (100%)
2219

@@ -28,6 +25,4 @@ Detected 5 tests where the duration exceeded the maximum duration.
2825

2926
There are 2 additional slow tests that are not listed here.
3027

31-
Time: %s, Memory: %s
32-
33-
OK (6 tests, 6 assertions)
28+
%a

test/EndToEnd/Version06/Configuration/MaximumDuration/test.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/Configuration/MaximumDuration/phpunit.xml
16+
%a
2017

2118
............ 12 / 12 (100%)
2219

@@ -35,6 +32,4 @@ Detected 11 tests where the duration exceeded the maximum duration.
3532

3633
There is 1 additional slow test that is not listed here.
3734

38-
Time: %s, Memory: %s
39-
40-
OK (12 tests, 12 assertions)
35+
%a

test/EndToEnd/Version06/TestCase/Bare/test.phpt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,11 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/TestCase/Bare/phpunit.xml
20-
21-
... 3 / 3 (100%)
16+
%a
2217

2318
Detected 2 tests where the duration exceeded the maximum duration.
2419

2520
1. 00:00.3%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1
2621
2. 00:00.2%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\Bare\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0
2722

28-
Time: %s, Memory: %s
29-
30-
OK (3 tests, 3 assertions)
23+
%a

test/EndToEnd/Version06/TestCase/Combination/test.phpt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/TestCase/Combination/phpunit.xml
20-
16+
%a
2117
... 3 / 3 (100%)
2218

2319
Detected 3 tests where the duration exceeded the maximum duration.
@@ -26,6 +22,4 @@ Detected 3 tests where the duration exceeded the maximum duration.
2622
2. 00:00.8%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\Combination\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0
2723
3. 00:00.6%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\Combination\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration
2824

29-
Time: %s, Memory: %s
30-
31-
OK (3 tests, 3 assertions)
25+
%a

test/EndToEnd/Version06/TestCase/WithAfterAnnotation/test.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/TestCase/WithAfterAnnotation/phpunit.xml
16+
%a
2017

2118
... 3 / 3 (100%)
2219

@@ -26,6 +23,4 @@ Detected 3 tests where the duration exceeded the maximum duration.
2623
2. 00:00.3%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0
2724
3. 00:00.1%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithAfterAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration
2825

29-
Time: %s, Memory: %s
30-
31-
OK (3 tests, 3 assertions)
26+
%a

test/EndToEnd/Version06/TestCase/WithAfterClassAnnotation/test.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/TestCase/WithAfterClassAnnotation/phpunit.xml
16+
%a
2017

2118
... 3 / 3 (100%)
2219

@@ -25,6 +22,4 @@ Detected 2 tests where the duration exceeded the maximum duration.
2522
1. 00:00.3%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #1
2623
2. 00:00.2%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithAfterClassAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0
2724

28-
Time: %s, Memory: %s
29-
30-
OK (3 tests, 3 assertions)
25+
%a

test/EndToEnd/Version06/TestCase/WithAssertPostConditions/test.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/TestCase/WithAssertPostConditions/phpunit.xml
16+
%a
2017

2118
... 3 / 3 (100%)
2219

@@ -26,6 +23,4 @@ Detected 3 tests where the duration exceeded the maximum duration.
2623
2. 00:00.3%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0
2724
3. 00:00.1%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithAssertPostConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration
2825

29-
Time: %s, Memory: %s
30-
31-
OK (3 tests, 3 assertions)
26+
%a

test/EndToEnd/Version06/TestCase/WithAssertPreConditions/test.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/TestCase/WithAssertPreConditions/phpunit.xml
16+
%a
2017

2118
... 3 / 3 (100%)
2219

@@ -26,6 +23,4 @@ Detected 3 tests where the duration exceeded the maximum duration.
2623
2. 00:00.3%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0
2724
3. 00:00.1%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithAssertPreConditions\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration
2825

29-
Time: %s, Memory: %s
30-
31-
OK (3 tests, 3 assertions)
26+
%a

test/EndToEnd/Version06/TestCase/WithBeforeAnnotation/test.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ require_once __DIR__ . '/../../../../../vendor/autoload.php';
1313

1414
PHPUnit\TextUI\Command::main();
1515
--EXPECTF--
16-
PHPUnit %s
17-
18-
Runtime: %s
19-
Configuration: %s/EndToEnd/Version06/TestCase/WithBeforeAnnotation/phpunit.xml
16+
%a
2017

2118
... 3 / 3 (100%)
2219

@@ -26,6 +23,4 @@ Detected 3 tests where the duration exceeded the maximum duration.
2623
2. 00:00.3%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLongerThanMaximumDurationFromXmlConfigurationWithDataProvider with data set #0
2724
3. 00:00.1%s (00:00.100) Ergebnis\PHPUnit\SlowTestDetector\Test\EndToEnd\Version06\TestCase\WithBeforeAnnotation\SleeperTest::testSleeperSleepsLessThanMaximumDurationFromXmlConfiguration
2825

29-
Time: %s, Memory: %s
30-
31-
OK (3 tests, 3 assertions)
26+
%a

0 commit comments

Comments
 (0)