Improve test coverage.

This commit is contained in:
James Cole
2019-08-03 10:50:43 +02:00
parent b8b59b13a7
commit 75c2529d3e
23 changed files with 367 additions and 539 deletions

View File

@@ -32,38 +32,15 @@
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners>
<testsuites>
<!-- test suites -->
<testsuite name="Api">
<directory suffix="Test.php">./tests/Api</directory>
</testsuite>
<!-- unit tests, splitted: -->
<testsuite name="Unit">
<!--
<directory suffix="Test.php">./tests/Unit/Console</directory>
<directory suffix="Test.php">./tests/Unit/Factory</directory>
<directory suffix="Test.php">./tests/Unit/Generator</directory>
<directory suffix="Test.php">./tests/Unit/Handlers</directory>
<directory suffix="Test.php">./tests/Unit/Helpers</directory>
<directory suffix="Test.php">./tests/Unit/Import</directory>
<directory suffix="Test.php">./tests/Unit/Jobs</directory>
<directory suffix="Test.php">./tests/Unit/Middleware</directory>
<directory suffix="Test.php">./tests/Unit/Rules</directory>
<directory suffix="Test.php">./tests/Unit/Services</directory>
<directory suffix="Test.php">./tests/Unit/Support</directory>
<directory suffix="Test.php">./tests/Unit/TransactionRules</directory>
-->
<directory suffix="Test.php">./tests/Unit/Transformers</directory>
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<!--
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
-->
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">