<phpunit
	bootstrap="tests/bootstrap.php"
	backupGlobals="false"
	colors="true"
	convertErrorsToExceptions="true"
	convertNoticesToExceptions="true"
	convertWarningsToExceptions="true"
	>
	<testsuites>
		<testsuite>
			<directory prefix="test-" suffix=".php">./tests/</directory>
		</testsuite>

		<!-- The suite below HAS to be last to run,
		as it includes a test that sets some const and would contaminate
		the other tests as well. -->
		<testsuite>
			<directory prefix="testX-" suffix=".php">./tests/</directory>
		</testsuite>
	</testsuites>
	<logging>
		<log type="coverage-clover" target="build/logs/clover.xml"/>
		<log type="coverage-html" target="build/logs/html"/>
    </logging>
    <filter>
    	<whitelist processUncoveredFilesFromWhitelist="true">
    		<directory suffix=".php">lib</directory>
    		<file>timber.php</file>
  		</whitelist>
	</filter>
</phpunit>
