<?xml version="1.0" encoding="UTF-8"?>
<!-- Run tests using phpunit -c doc/phpunit.xml -->
<phpunit
    colors="true"
	backupGlobals="false"
	bootstrap="phpunit_bootstrap.php"
>
	<php>
        <var name="EGW_DOMAIN" value="default" />
        <var name="EGW_USER" value="demo" />
        <var name="EGW_PASSWORD" value="guest" />
    </php>
	    <testsuites>
	        <testsuite name="Api">
	            <directory>../api/tests</directory>
	            <exclude>../api/tests/Etemplate/</exclude>
	            <exclude>../api/tests/EtemplateTest.php</exclude>
	            <exclude>../api/tests/AppTest.php</exclude>
	            <exclude>../api/tests/CalDAVTest.php</exclude>
	            <exclude>../api/tests/LoggedInTest.php</exclude>
	        </testsuite>
	        <testsuite name="Etemplate">
	            <file>../api/tests/EtemplateTest.php</file>
	            <directory>../api/tests/Etemplate/</directory>
	            <exclude>../api/tests/Etemplate/WidgetBaseTest.php</exclude>
	        </testsuite>
		<testsuite name="Apps">
			<!-- Apps with test directory -->
            <!-- Skip these for now, though they do mostly work locally
			<directory>../*/tests/</directory>
			-->

			<exclude>../api</exclude>
            <exclude>../invoices</exclude>
		</testsuite>
    </testsuites>
</phpunit>
