Repository navigation
Expand file tree
/
Copy pathphpunit.xml
More file actions
70 lines (57 loc) · 2.23 KB
/
Copy pathphpunit.xml
File metadata and controls
70 lines (57 loc) · 2.23 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
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
failOnRisky="true"
failOnWarning="true"
stopOnFailure="false"
cacheDirectory=".phpunit.cache">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">tests/Integration</directory>
</testsuite>
<testsuite name="Tributacao">
<directory suffix="Test.php">tests/Unit/Tributacao</directory>
</testsuite>
<testsuite name="NFe">
<directory suffix="Test.php">tests/Unit/NFe</directory>
</testsuite>
<testsuite name="NFSe">
<directory suffix="Test.php">tests/Unit/NFSe</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/Support/legacy</directory>
<file>src/Support/deprecated.php</file>
</exclude>
</source>
<logging>
<testdoxHtml outputFile="tests/logs/testdox.html"/>
<testdoxText outputFile="tests/logs/testdox.txt"/>
<junit outputFile="tests/logs/junit.xml"/>
</logging>
<php>
<!-- Environment variables for tests -->
<env name="APP_ENV" value="testing"/>
<env name="FISCAL_DEBUG" value="false"/>
<!-- Test database/cache settings -->
<env name="CACHE_DRIVER" value="array"/>
<!-- External APIs for integration tests -->
<env name="ENABLE_EXTERNAL_TESTS" value="false"/>
<env name="BRASIL_API_TIMEOUT" value="5"/>
<!-- IBPT test credentials (optional) -->
<env name="IBPT_TEST_CNPJ" value=""/>
<env name="IBPT_TEST_TOKEN" value=""/>
<!-- Certificate test paths -->
<env name="TEST_CERT_PATH" value=""/>
<env name="TEST_CERT_PASSWORD" value=""/>
</php>
</phpunit>