forked from allysonsilva/conference-talks-management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
74 lines (64 loc) 路 2.84 KB
/
phpunit.xml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
testdox="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutTodoAnnotatedTests="true"
enforceTimeLimit="true"
defaultTimeLimit="1"
timeoutForSmallTests="2"
timeoutForMediumTests="5"
timeoutForLargeTests="10"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnIncomplete="true"
stopOnFailure="false">
<listeners>
<listener class="NunoMaduro\Collision\Adapters\Phpunit\Listener"/>
</listeners>
<!-- @see https://phpunit.readthedocs.io/en/8.5/extending-phpunit.html#extending-the-testrunner -->
<!-- <extensions>
<extension class="Tests\Runners\ResultAfterTestExtension"/>
</extensions> -->
<testsuites>
<testsuite name="Unit">
<directory phpVersion="7.4.0" phpVersionOperator=">=" suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<!-- <testsuite name="GraphQL Tests">
<directory suffix="Test.php">./tests/GraphQL/*</directory>
</testsuite> -->
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
<exclude>
<directory suffix=".php">./app/Core</directory>
<directory suffix=".php">./app/Support/Helpers</directory>
<directory suffix=".php">./app/Support/Validator</directory>
<directory suffix=".php">./app/Support/ORM</directory>
<directory suffix=".php">./app/Domain/*/Console</directory>
<directory suffix=".php">./app/Domain/*/Constants</directory>
<directory suffix=".php">./app/Domain/*/DataObjects</directory>
<directory suffix=".php">./app/Domain/*/Resources/Lang</directory>
<directory suffix=".php">./app/Interfaces/*/*/Resources</directory>
</exclude>
</whitelist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
</php>
<logging>
<!-- <log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/> -->
<log type="coverage-html" target="build/coverage" lowUpperBound="35" highLowerBound="80"/>
<!-- <log type="testdox-html" target="build/testdox.html"/> -->
</logging>
</phpunit>