forked from pact-foundation/pact-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
28 lines (28 loc) · 1.25 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="PhpPact Core Test Suite">
<directory>./tests/PhpPact</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/PhpPact</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./test_results/coverage/" lowUpperBound="70"/>
<log type="junit" target="./test_results/reports/unit_test_results.xml" lowUpperBound="70"/>
<log type="coverage-clover" target="./test_results/reports/test_coverage_results.xml" lowUpperBound="70"/>
</logging>
<php>
<env name="PACT_MOCK_SERVER_HOST" value="localhost"/>
<env name="PACT_MOCK_SERVER_PORT" value="7200"/>
<env name="PACT_CONSUMER_NAME" value="someConsumer"/>
<env name="PACT_CONSUMER_VERSION" value="1.0.0"/>
<env name="PACT_PROVIDER_NAME" value="someProvider"/>
<env name="PACT_BROKER_URI" value="http://localhost"/>
<!-- <env name="PACT_BROKER_BEARER_TOKEN" value="someToken"/> -->
<env name="PACT_CORS" value="true"/>
</php>
</phpunit>