Organize test suites into unit and integration

This is the goals of project organization composing different
combinations to run any number of tests together.
This commit is contained in:
Antonio Spinelli
2023-07-03 11:08:24 -03:00
parent 6ac3cc384b
commit 7f0db0de04
19 changed files with 102 additions and 37 deletions

View File

@@ -21,8 +21,11 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" stopOnFailure="true" processIsolation="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage/>
<testsuites>
<testsuite name="Api">
<directory suffix="Test.php">./tests</directory>
<testsuite name="unit">
<directory suffix="Test.php">./tests/unit</directory>
</testsuite>
<testsuite name="integration">
<directory suffix="Test.php">./tests/integration</directory>
</testsuite>
</testsuites>
<php>