-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
42 lines (42 loc) · 2.11 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
42 lines (42 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php" cacheDirectory=".phpunit.cache">
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test" force="true"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
<server name="SYMFONY_PHPUNIT_VERSION" value="11.5"/>
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
<!--
Legacy symfony/demo functional tests. These predate this repo's CQRS/scaling
rework and the Symfony 7.3 / PHPUnit 11 / doctrine-fixtures 2.x upgrade, and
depend on demo blog data + templates that no longer match. Excluded so the
runnable unit suite stays green; revisit if the demo blog UI is reinstated.
-->
<exclude>tests/Command/AbstractCommandTest.php</exclude>
<exclude>tests/Command/AddUserCommandTest.php</exclude>
<exclude>tests/Command/ListUsersCommandTest.php</exclude>
<exclude>tests/Controller/BlogControllerTest.php</exclude>
<exclude>tests/Controller/Admin/BlogControllerTest.php</exclude>
<exclude>tests/Controller/DefaultControllerTest.php</exclude>
<exclude>tests/Controller/UserControllerTest.php</exclude>
</testsuite>
</testsuites>
<extensions>
<!-- it begins a database transaction before every testcase and rolls it back after
the test finished, so tests can manipulate the database without affecting other tests -->
<bootstrap class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/>
<!-- Run `composer require symfony/panther` before enabling this extension -->
<!-- <extension class="Symfony\Component\Panther\ServerExtension" /> -->
</extensions>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>