Testsuites for Api, Etemplate & Apps

Run with phpunit -c doc --testsuite Api
This commit is contained in:
nathangray 2017-10-17 17:08:23 +02:00
parent 1d7fb9fe90
commit fe0e980d52

View File

@ -11,16 +11,24 @@
<var name="EGW_PASSWORD" value="guest" />
</php>
<testsuites>
<testsuite name="Api tests">
<testsuite name="Api">
<directory>../api/src/test/</directory>
<directory>../api/src/*/test/</directory>
</testsuite>
<testsuite name="Apps with test directory">
<testsuite name="Etemplate">
<file>../api/src/test/EtemplateTest.php</file>
<directory>../api/src/Etemplate/test/</directory>
<directory>../api/src/Etemplate/Widget/test/</directory>
</testsuite>
<testsuite name="Apps">
<!-- Apps with test directory -->
<directory>../*/test/</directory>
</testsuite>
<testsuite name="Apps with namespace">
<!-- Apps with namespace -->
<directory>../*/src/test/</directory>
<directory>../*/src/*/test/</directory>
<exclude>../api</exclude>
</testsuite>
</testsuites>
</phpunit>