Browse Source

[TESTS] Add support for loading test suites from plugins and components

v3
parent
commit
df40dd7c66
Signed by: diogo <mail@diogo.site> GPG Key ID: 18D2D35001FBFAB0
1 changed files with 22 additions and 16 deletions
  1. +22
    -16
      phpunit.xml.dist

+ 22
- 16
phpunit.xml.dist View File

@@ -36,22 +36,28 @@
<env name="MAIL_DRIVER" value="array"/>
</php>
<testsuites>
<testsuite name="Controller">
<directory suffix="Test.php">./tests/Controller</directory>
</testsuite>
<testsuite name="Core">
<directory suffix="Test.php">./tests/Core</directory>
</testsuite>
<testsuite name="Entity">
<directory suffix="Test.php">./tests/Entity</directory>
</testsuite>
<testsuite name="Twig">
<directory suffix="Test.php">./tests/Twig</directory>
</testsuite>
<testsuite name="Util">
<directory suffix="Test.php">./tests/Util</directory>
</testsuite>
</testsuites>
<testsuite name="Controller">
<directory suffix="Test.php">./tests/Controller</directory>
</testsuite>
<testsuite name="Core">
<directory suffix="Test.php">./tests/Core</directory>
</testsuite>
<testsuite name="Entity">
<directory suffix="Test.php">./tests/Entity</directory>
</testsuite>
<testsuite name="Twig">
<directory suffix="Test.php">./tests/Twig</directory>
</testsuite>
<testsuite name="Util">
<directory suffix="Test.php">./tests/Util</directory>
</testsuite>
<testsuite name="Plugins">
<directory suffix="Test.php">./plugins/</directory>
</testsuite>
<testsuite name="Component">
<directory suffix="Test.php">./components/</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>


Loading…
Cancel
Save