File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -54,24 +54,25 @@ You can configure the extension with the following parameters in your `phpunit.x
5454
5555The following example configures the maximum count of slow tests to three, and the maximum duration for all tests to 250 milliseconds:
5656
57- ``` xml
58- <phpunit
59- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
60- xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
61- bootstrap =" vendor/autoload.php"
62- >
63- <extensions >
64- <bootstrap class =" Ergebnis\PHPUnit\SlowTestDetector\Extension" >
65- <parameter name =" maximum-count" value =" 3" />
66- <parameter name =" maximum-duration" value =" 250" />
67- </boostrap >
68- </extensions >
69- <testsuites >
70- <testsuite name =" unit" >
71- <directory >test/Unit/</directory >
72- </testsuite >
73- </testsuites >
74- </phpunit >
57+ ``` diff
58+ <phpunit
59+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
60+ xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
61+ bootstrap="vendor/autoload.php"
62+ >
63+ <extensions>
64+ - <bootstrap class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>
65+ + <bootstrap class="Ergebnis\PHPUnit\SlowTestDetector\Extension">
66+ + <parameter name="maximum-count" value="3"/>
67+ + <parameter name="maximum-duration" value="250"/>
68+ + </boostrap>
69+ </extensions>
70+ <testsuites>
71+ <testsuite name="unit">
72+ <directory>test/Unit/</directory>
73+ </testsuite>
74+ </testsuites>
75+ </phpunit>
7576```
7677
7778#### Configuring the maximum duration per test case
You can’t perform that action at this time.
0 commit comments