forked from Coderockr/orcamentos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
35 lines (33 loc) · 1.29 KB
/
phpunit.xml
File metadata and controls
35 lines (33 loc) · 1.29 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="phpunit_bootstrap.php"
>
<!-- Indicando qual é o diretório onde as classes de teste se encontram -->
<testsuites>
<testsuite name="Orçamentos Coderockr">
<directory suffix=".php">src/</directory>
</testsuite>
</testsuites>
<!-- Adicionando filtros, basicamente whitelist (diretórios que serão executados),
dentro temos o exclude (diretórios que não serão executados pelos testes) -->
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
<exclude>
<directory suffix=".php">./vendor/</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="tests/_reports/coverage" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="70" />
<log type="testdox-text" target="tests/_reports/testdox/executed.txt"/>
</logging>
</phpunit>