Skip to content

Commit

Permalink
Migrate PHPUnit configuration (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k authored Mar 8, 2021
1 parent 72175c5 commit 94875c9
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
Expand All @@ -9,20 +10,21 @@
stopOnFailure="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage>
<include>
<directory>./src</directory>
</include>
</coverage>

<testsuites>
<testsuite name="Chess.php Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>

<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners>

<filter>
<whitelist>
<directory>./src</directory>
</whitelist>
</filter>
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener"/>
</listeners>
</phpunit>

0 comments on commit 94875c9

Please sign in to comment.