fix phpunit config
parent
1d4811cca5
commit
d59b1c8812
@ -0,0 +1,24 @@
|
|||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
|
||||||
|
backupGlobals="false"
|
||||||
|
bootstrap="./includes/engelsystem_provider.php"
|
||||||
|
colors="true"
|
||||||
|
convertErrorsToExceptions="true"
|
||||||
|
convertNoticesToExceptions="true"
|
||||||
|
convertWarningsToExceptions="true"
|
||||||
|
processIsolation="false">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Models">
|
||||||
|
<directory>./test/model/</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory>./include/</directory>
|
||||||
|
<directory>./public/</directory>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
<php>
|
||||||
|
<const name="PHPUNIT_TESTSUITE" value="true" />
|
||||||
|
</php>
|
||||||
|
</phpunit>
|
@ -1,14 +0,0 @@
|
|||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
|
|
||||||
bootstrap="../includes/engelsystem_provider.php" colors="true"
|
|
||||||
convertErrorsToExceptions="true" convertNoticesToExceptions="true"
|
|
||||||
convertWarningsToExceptions="true" forceCoversAnnotation="false">
|
|
||||||
<testsuites>
|
|
||||||
<testsuite name="Models">
|
|
||||||
<directory>model/*</directory>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
||||||
<php>
|
|
||||||
<const name="PHPUNIT_TESTSUITE" value="true" />
|
|
||||||
</php>
|
|
||||||
</phpunit>
|
|
Loading…
Reference in New Issue