-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
39 lines (35 loc) · 1.84 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
39 lines (35 loc) · 1.84 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
failOnDeprecation="true"
failOnPhpunitNotice="true"
>
<testsuites>
<!-- One suite per bundle: they ship together but stay two distinct bundles, and a failure should name which one -->
<testsuite name="c975LConfigBundle Test Suite">
<directory>ConfigBundle/tests</directory>
</testsuite>
<testsuite name="c975LUiBundle Test Suite">
<directory>UiBundle/tests</directory>
</testsuite>
<!-- Runs the scaffold's own unit-style tests (Entity/Form/Repository/Security/Service) against the scaffold's own src, so a scaffold edit that drifts src/tests apart fails here immediately instead of only surfacing later in a consuming app after c975l:scaffold:install. Controller/ needs a real app kernel + DB and can't run standalone here - see ConfigBundle/scaffold/tests/Controller/FunctionalTestCase.php. -->
<testsuite name="Scaffold Test Suite">
<directory>ConfigBundle/scaffold/tests</directory>
<exclude>ConfigBundle/scaffold/tests/Controller</exclude>
</testsuite>
</testsuites>
<source ignoreSuppressionOfDeprecations="true">
<include>
<directory>ConfigBundle/src</directory>
<directory>UiBundle/src</directory>
</include>
<deprecationTrigger>
<method>Doctrine\Deprecations\Deprecation::trigger</method>
<method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
<function>trigger_deprecation</function>
</deprecationTrigger>
</source>
</phpunit>