mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 12:34:57 +01:00
f8b57077fb
- use 'phpunit -c doc/phpunit.xml' to run tests - extend api/src/test/AppTest.php to write application tests
23 lines
676 B
XML
23 lines
676 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Run tests using phpunit -c doc/phpunit.xml -->
|
|
<phpunit
|
|
colors="true">
|
|
<php>
|
|
<var name="EGW_DOMAIN" value="default" />
|
|
<var name="EGW_USER" value="demo" />
|
|
<var name="EGW_PASSWORD" value="guest" />
|
|
</php>
|
|
<testsuites>
|
|
<testsuite name="Api tests">
|
|
<directory>../api/src/test/</directory>
|
|
</testsuite>
|
|
<testsuite name="Apps with test directory">
|
|
<directory>../*/test/</directory>
|
|
</testsuite>
|
|
<testsuite name="Apps with namespace">
|
|
<directory>../*/src/test/</directory>
|
|
<directory>../*/src/*/test/</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
</phpunit>
|