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

This commit is contained in:
Hugo Sales 2022-03-07 00:48:07 +00:00 committed by Diogo Peralta Cordeiro
parent afa8443949
commit df40dd7c66
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0

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>