Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-10-06 06:41:13 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-10-06 06:41:13 +0400
commit8aaa1aba44e541ca260de505a3e98996b98c9f37 (patch)
treea72fca923e494a0f2e41947c13c73e9177b78bad /tests/PHPUnit/phpunit.xml.dist
parent5a1eab97f54b44f57356b4276b9c9df2a8eef51b (diff)
refs #5940 splitting plugin tests folder into unit, integration and system for now
Diffstat (limited to 'tests/PHPUnit/phpunit.xml.dist')
-rw-r--r--tests/PHPUnit/phpunit.xml.dist25
1 files changed, 23 insertions, 2 deletions
diff --git a/tests/PHPUnit/phpunit.xml.dist b/tests/PHPUnit/phpunit.xml.dist
index 6aef96407c..082591ec29 100644
--- a/tests/PHPUnit/phpunit.xml.dist
+++ b/tests/PHPUnit/phpunit.xml.dist
@@ -33,17 +33,38 @@
<testsuites>
<testsuite name="SystemTests">
<directory>./System</directory>
+ <directory>../../plugins/*/tests</directory><!-- There should be actually a tests/System but this way we make sure to execute all tests even if some are not moved to correct subdirectory. We will execute Unit and Integration tests twice :( ... -->
+ <directory>../../plugins/*/Test</directory>
+ <exclude>../../plugins/*/tests/Integration</exclude><!-- * in exclude is currently not supported by PHPUnit, so it won't work yet -->
+ <exclude>../../plugins/*/Test/Integration</exclude>
+ <exclude>../../plugins/*/tests/Unit</exclude>
+ <exclude>../../plugins/*/Test/Unit</exclude>
+ <exclude>../../plugins/*/tests/UI</exclude>
+ <exclude>../../plugins/*/Test/UI</exclude>
</testsuite>
<testsuite name="IntegrationTests">
<directory>./Integration</directory>
- <directory>../../plugins/*/tests</directory>
- <directory>../../plugins/*/Test</directory>
+ <directory>../../plugins/*/tests/Integration</directory>
+ <directory>../../plugins/*/Test/Integration</directory>
</testsuite>
<testsuite name="UnitTests">
<directory>./Unit</directory>
+ <directory>../../plugins/*/tests/Unit</directory>
+ <directory>../../plugins/*/Test/Unit</directory>
</testsuite>
<testsuite name="UITests">
<directory>./UI</directory>
+ <directory>../../plugins/*/tests/UI</directory>
+ <directory>../../plugins/*/Test/UI</directory>
+ </testsuite>
+ <testsuite name="PluginTests">
+ <directory>../../plugins/*/tests</directory>
+ <directory>../../plugins/*/Test</directory>
+ </testsuite>
+ <testsuite name="CoreTests">
+ <directory>./Unit</directory>
+ <directory>./Integration</directory>
+ <directory>./System</directory>
</testsuite>
</testsuites>