forked from pact-foundation/pact-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
60 lines (60 loc) · 2.11 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" cacheDirectory=".phpunit.cache">
<coverage>
<report>
<clover outputFile="./test_results/reports/test_coverage_results.xml"/>
<html outputDirectory="./test_results/coverage/" lowUpperBound="70"/>
</report>
</coverage>
<testsuites>
<testsuite name="unit">
<directory>./tests</directory>
</testsuite>
<testsuite name="json-example">
<directory>./example/json</directory>
</testsuite>
<testsuite name="binary-example">
<directory>./example/binary</directory>
</testsuite>
<testsuite name="multipart-example">
<directory>./example/multipart</directory>
</testsuite>
<testsuite name="xml-example">
<directory>./example/xml</directory>
</testsuite>
<testsuite name="message-example">
<directory>./example/message</directory>
</testsuite>
<testsuite name="matchers-example">
<directory>./example/matchers</directory>
</testsuite>
<testsuite name="generators-example">
<directory>./example/generators</directory>
</testsuite>
<testsuite name="csv-example">
<directory>./example/csv</directory>
</testsuite>
<testsuite name="protobuf-sync-message-example">
<directory>./example/protobuf-sync-message</directory>
</testsuite>
<testsuite name="protobuf-async-message-example">
<directory>./example/protobuf-async-message</directory>
</testsuite>
<testsuite name="stub-server-example">
<directory>./example/stub-server</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="./test_results/reports/unit_test_results.xml"/>
</logging>
<php>
<env name="PACT_CONSUMER_NAME" value="someConsumer"/>
<env name="PACT_PROVIDER_NAME" value="someProvider"/>
<env name="PACT_LOGLEVEL" value="DEBUG"/>
</php>
<source>
<include>
<directory suffix=".php">./src/PhpPact</directory>
</include>
</source>
</phpunit>