-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathphpunit.xml
30 lines (30 loc) · 1.1 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
<phpunit bootstrap="tests/bootstrap.php">
<!-- "Tests should need to run in order" blah blah blah -->
<testsuites>
<!-- Add the local LXD server to the DB -->
<testsuite name="test">
<directory>tests/seedHosts</directory>
</testsuite>
<!--
Create instances, profiles, storage, networks or what ever
to fetch later on
-->
<testsuite name="test">
<directory>tests/seedEntities</directory>
</testsuite>
<!--
Basicly testing GET methods but because you can create
more complex entities and know they exist (because seedEntities
runs first) you can test more complex situations (beyond just
calling the "default" profile / project / storage or whatever)
-->
<testsuite name="test">
<directory>tests/test</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">src/classes/</directory>
</whitelist>
</filter>
</phpunit>