Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html --> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" | ||
backupGlobals="true" | ||
backupStaticAttributes="false" | ||
colors="true" | ||
processIsolation="false" | ||
|
||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
|
||
stopOnError="true" | ||
stopOnFailure="true" | ||
stopOnRisky="true" | ||
|
||
beStrictAboutTestsThatDoNotTestAnything="true" | ||
checkForUnintentionallyCoveredCode="true" | ||
beStrictAboutOutputDuringTests="true" | ||
beStrictAboutChangesToGlobalState="true" | ||
|
||
forceCoversAnnotation="true" | ||
|
||
bootstrap="vendor/autoload.php" | ||
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html --> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd" | ||
backupGlobals="true" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
stopOnFailure="true" | ||
stopOnRisky="true" | ||
beStrictAboutTestsThatDoNotTestAnything="true" | ||
checkForUnintentionallyCoveredCode="true" | ||
beStrictAboutOutputDuringTests="true" | ||
beStrictAboutChangesToGlobalState="true" | ||
forceCoversAnnotation="true" | ||
bootstrap="vendor/autoload.php" | ||
> | ||
|
||
<listeners> | ||
<listener class="Yoanm\PhpUnitExtended\Listener\YoanmTestsStrategyListener"/> | ||
</listeners> | ||
|
||
<testsuites> | ||
<testsuite name="technical"> | ||
<directory>tests/Technical</directory> | ||
</testsuite> | ||
<testsuite name="functional"> | ||
<directory>tests/Functional</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<coverage> | ||
<include> | ||
<directory>src</directory> | ||
</include> | ||
</coverage> | ||
<listeners> | ||
<listener class="Yoanm\PhpUnitExtended\Listener\YoanmTestsStrategyListener"/> | ||
</listeners> | ||
|
||
|
||
<testsuites> | ||
<testsuite name="technical"> | ||
<directory>tests/Technical/Unit/*</directory> <!-- launch unit before => faster than integration --> | ||
<directory>tests/Technical/Integration/*</directory> | ||
</testsuite> | ||
<testsuite name="functional"> <!-- defined functional after technical => longer than technical --> | ||
<directory>tests/Functional/*</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory>src</directory> | ||
</whitelist> | ||
</filter> | ||
</phpunit> |