Browse Source

Add phpunit slow detector (#9320)

pull/9272/head
Michael Voříšek 1 year ago
committed by GitHub
parent
commit
4611b55072
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      composer.json
  2. 3
      tests/Browser/phpunit.xml
  3. 3
      tests/phpunit.xml

1
composer.json

@ -18,6 +18,7 @@
},
"require-dev": {
"ergebnis/composer-normalize": "^2.13",
"ergebnis/phpunit-slow-test-detector": "^2.11",
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.2",

3
tests/Browser/phpunit.xml

@ -3,6 +3,9 @@
bootstrap="bootstrap.php"
colors="true"
>
<extensions>
<extension class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>
</extensions>
<testsuites>
<testsuite name="tests">
<directory>.</directory>

3
tests/phpunit.xml

@ -15,6 +15,9 @@
<directory>../plugins</directory>
</include>
</coverage>
<extensions>
<extension class="Ergebnis\PHPUnit\SlowTestDetector\Extension"/>
</extensions>
<testsuites>
<testsuite name="tests">
<directory>.</directory>

Loading…
Cancel
Save