Skip to content

Commit

Permalink
fix: migrate phpunit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin-claras committed Sep 2, 2021
1 parent ddeb825 commit 516c0e5
Showing 1 changed file with 20 additions and 24 deletions.
44 changes: 20 additions & 24 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,32 +1,28 @@
<?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="http://schema.phpunit.de/6.1/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<!-- define your env variables for the test env here -->
</php>

<listeners>
<listener class="M6WebTest\Tornado\Adapter\Amp\LoopReset" />
</listeners>

<testsuites>
<testsuite name="Tornado Test Suite">
<directory>tests</directory>
</testsuite>
<testsuite name="Tornado Examples">
<directory>examples/tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
<coverage>
<include>
<directory>src</directory>
</include>
</coverage>
<php>
<!-- define your env variables for the test env here -->
</php>
<listeners>
<listener class="M6WebTest\Tornado\Adapter\Amp\LoopReset"/>
</listeners>
<testsuites>
<testsuite name="Tornado Test Suite">
<directory>tests</directory>
</testsuite>
<testsuite name="Tornado Examples">
<directory>examples/tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 516c0e5

Please sign in to comment.