forked from dpb587/theloopyewe-ravelry-api.php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
47 lines (42 loc) · 1.42 KB
/
phpunit.xml.dist
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
<?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="test/bootstrap.php"
>
<testsuites>
<testsuite name="ravelry-api Test Suite">
<directory>./test/RavelryApi/Tests</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>functional</group>
</exclude>
</groups>
<filter>
<whitelist>
<directory suffix=".php">./src/RavelryApi</directory>
</whitelist>
</filter>
<listeners>
<!-- this records the http request/responses used in tests, then dumps
dumps them if a test fails, errors, or is marked incomplete
-->
<listener class="RavelryApi\Tests\Listener\HttpRequestTestListener" />
<!-- this keeps track of which api methods and parameters were tested
to make it easier to see that sort of test coverage
-->
<listener class="RavelryApi\Tests\Listener\ApiUsageTestListener">
<arguments>
<string>./api-coverage.html</string>
</arguments>
</listener>
</listeners>
</phpunit>