You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to install `ergebnis/phpunit-slow-test-detector` as a `composer` package when using `phpunit/phpunit:^7.2.0`, `phpunit/phpunit:^8.5.19`, `phpunit/phpunit:^9.0.0`, or `phpunit/phpunit:^10.0.0`.
34
+
to install `ergebnis/phpunit-slow-test-detector` as a `composer` package when using `phpunit/phpunit:^7.5.0`, `phpunit/phpunit:^8.5.19`, `phpunit/phpunit:^9.0.0`, or `phpunit/phpunit:^10.0.0`.
35
35
36
36
### Installation as Phar
37
37
@@ -43,9 +43,9 @@ Download `phpunit-slow-test-detector.phar` from the [latest release](https://git
43
43
44
44
Before the extension can detect slow tests in `phpunit/phpunit`, you need to bootstrap it. The bootstrapping mechanism depends on the version of `phpunit/phpunit` you are using.
45
45
46
-
### Bootstrapping the extension as a `composer` package when using `phpunit/phpunit:^7.2.0`
46
+
### Bootstrapping the extension as a `composer` package when using `phpunit/phpunit:^7.5.0`
47
47
48
-
To bootstrap the extension as a `composer` package when using `phpunit/phpunit:^7.2.0`, adjust your `phpunit.xml` configuration file and configure the [`extensions` element](https://docs.phpunit.de/en/7.5/configuration.html#the-extensions-element):
48
+
To bootstrap the extension as a `composer` package when using `phpunit/phpunit:^7.5.0`, adjust your `phpunit.xml` configuration file and configure the [`extensions` element](https://docs.phpunit.de/en/7.5/configuration.html#the-extensions-element):
49
49
50
50
```diff
51
51
<phpunit
@@ -158,9 +158,9 @@ You can configure the extension with the following options in your `phpunit.xml`
158
158
159
159
The configuration mechanism depends on the version of `phpunit/phpunit` you are using.
160
160
161
-
### Configuring the extension when using `phpunit/phpunit:^7.2.0`
161
+
### Configuring the extension when using `phpunit/phpunit:^7.5.0`
162
162
163
-
The following example configures the maximum count of slow tests to three, and the maximum duration for all tests to 250 milliseconds when using `phpunit/phpunit:^7.2.0`:
163
+
The following example configures the maximum count of slow tests to three, and the maximum duration for all tests to 250 milliseconds when using `phpunit/phpunit:^7.5.0`:
164
164
165
165
```diff
166
166
<phpunit
@@ -286,8 +286,8 @@ The following example configures the maximum count of slow tests to three, and t
286
286
You can configure the maximum duration for a single test case with
287
287
288
288
- an `Attribute\MaximumDuration` attribute when using `phpunit/phpunit:^10.0.0`
289
-
- a `@maximumDuration` annotation in the DocBlock when using `phpunit/phpunit:^7.2.0`, `phpunit/phpunit:^8.5.19`, or `phpunit/phpunit:^9.0.0`
290
-
- a `@slowThreshold` annotation in the DocBlock when using `phpunit/phpunit:^7.2.0`, `phpunit/phpunit:^8.5.19`, or `phpunit/phpunit:^9.0.0`
289
+
- a `@maximumDuration` annotation in the DocBlock when using `phpunit/phpunit:^7.5.0`, `phpunit/phpunit:^8.5.19`, or `phpunit/phpunit:^9.0.0`
290
+
- a `@slowThreshold` annotation in the DocBlock when using `phpunit/phpunit:^7.5.0`, `phpunit/phpunit:^8.5.19`, or `phpunit/phpunit:^9.0.0`
291
291
292
292
The following example configures the maximum durations for single test cases to 5.000 ms, 4.000 ms, and 3.000 ms:
### Understanding measured test durations when using `phpunit/phpunit:^7.2.0`, `phpunit/phpunit:^8.5.19`, or `phpunit/phpunit:^9.0.0`
373
+
### Understanding measured test durations when using `phpunit/phpunit:^7.5.0`, `phpunit/phpunit:^8.5.19`, or `phpunit/phpunit:^9.0.0`
374
374
375
-
When using `phpunit/phpunit:^7.2.0`, `phpunit/phpunit:^8.5.19`, or `phpunit/phpunit:^9.0.0` the extension uses the hooks event system of `phpunit/phpunit`.
375
+
When using `phpunit/phpunit:^7.5.0`, `phpunit/phpunit:^8.5.19`, or `phpunit/phpunit:^9.0.0` the extension uses the hooks event system of `phpunit/phpunit`.
376
376
377
377
The hooks event system supports eleven hook methods that `phpunit/phpunit` invokes during the execution of tests.
0 commit comments