-
Notifications
You must be signed in to change notification settings - Fork 247
/
phpunit.xml.dist
52 lines (52 loc) · 2.28 KB
/
phpunit.xml.dist
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
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!-- doc: https://phpunit.readthedocs.io/en/latest/configuration.html -->
<!-- manpage: https://manpages.debian.org/testing/phpunit/phpunit.1.en.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./tests/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" defaultTestSuite="all" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.3/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<!-- organizing tests: https://phpunit.readthedocs.io/en/latest/organizing-tests.html -->
<testsuites>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html#the-testsuite-element -->
<!-- run only specificed tests: 'phpunit -_-filter [path/to/*Test.php / folder with tests]' -->
<!-- run only a specific testsuite: 'phpunit -_-testsuite <testsuite-name>' -->
<testsuite name="all">
<directory>./tests</directory>
</testsuite>
<testsuite name="application">
<directory>./tests/Application</directory>
</testsuite>
<testsuite name="domain">
<directory>./tests/Domain</directory>
</testsuite>
<testsuite name="plugins">
<directory>./tests/Plugins</directory>
</testsuite>
<testsuite name="presenters">
<directory>./tests/Presenters</directory>
</testsuite>
<testsuite name="webservice">
<directory>./tests/WebService</directory>
</testsuite>
<testsuite name="webservices">
<directory>./tests/WebServices</directory>
</testsuite>
</testsuites>
<!-- to generate coverage report: phpunit -_-coverage-html ./var/ -->
<php>
<env name="APP_ENV" value="testing"/>
</php>
<source>
<include>
<directory suffix=".php">Controls</directory>
<directory suffix=".php">Domain</directory>
<directory suffix=".php">Jobs</directory>
<directory suffix=".php">lib</directory>
<directory suffix=".php">Pages</directory>
<directory suffix=".php">Plugins</directory>
<directory suffix=".php">Presenters</directory>
<directory suffix=".php">Web</directory>
<directory suffix=".php">WebServices</directory>
</include>
<exclude>
<directory suffix=".php">lib/external</directory>
</exclude>
</source>
</phpunit>