Restructuring unit/integration tests
This commit is contained in:
21
phpunit.xml
21
phpunit.xml
@@ -6,9 +6,18 @@
|
||||
verbose="true">
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="icehrm">
|
||||
<directory suffix="Test.php">./test/</directory>
|
||||
<testsuite name="Unit">
|
||||
<exclude>
|
||||
<file>/test/TestTemplate.php</file>
|
||||
</exclude>
|
||||
<directory suffix=".php">./test/unit</directory>
|
||||
</testsuite>
|
||||
<testsuite name="Integration">
|
||||
<exclude>
|
||||
<file>/test/TestTemplate.php</file>
|
||||
</exclude>
|
||||
<directory suffix=".php">./test/integration</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<logging>
|
||||
@@ -20,13 +29,17 @@
|
||||
|
||||
<filter>
|
||||
<whitelist addUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">./build/app</directory>
|
||||
<directory suffix=".php">./src</directory>
|
||||
<exclude>
|
||||
<directory suffix=".php">./composer</directory>
|
||||
<directory suffix=".php">./lib</directory>
|
||||
<directory suffix=".php">./lib/Mail</directory>
|
||||
<directory suffix=".php">./adodb512</directory>
|
||||
<directory suffix=".php">./lib/composer</directory>
|
||||
<directory suffix=".php">./js</directory>
|
||||
<directory suffix=".php">./admin</directory>
|
||||
<directory suffix=".php">./modules</directory>
|
||||
<directory suffix=".php">./robo</directory>
|
||||
<directory suffix=".php">./migrations</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
Reference in New Issue
Block a user