summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2012-04-07 00:07:39 +0200
committerDominik Eckelmann <deckelmann@gmail.com>2012-04-07 00:07:39 +0200
commitbecbdfe7b2d8dfb2449667d9f4783c76257df325 (patch)
tree040725ff3d97eb052c5a6b38cac34f00dad39d45
parent4160c7c78bcb7e95a2492664846c9f9a98317555 (diff)
downloadrpg-becbdfe7b2d8dfb2449667d9f4783c76257df325.tar.gz
rpg-becbdfe7b2d8dfb2449667d9f4783c76257df325.tar.bz2
added plugin unit tests to phpunit config
plugin unit tests are in /lib/plugins/<pluginname>/_testing
-rw-r--r--_testing/README1
-rw-r--r--_testing/phpunit.xml3
2 files changed, 3 insertions, 1 deletions
diff --git a/_testing/README b/_testing/README
index 91ad1f202..57a819934 100644
--- a/_testing/README
+++ b/_testing/README
@@ -32,5 +32,4 @@ Bad tests are tests that do not run out of the box.
==== TODO ====
- * plugin unit tests
* integration tests (+plugins) \ No newline at end of file
diff --git a/_testing/phpunit.xml b/_testing/phpunit.xml
index 62ab4005f..f9cb57b17 100644
--- a/_testing/phpunit.xml
+++ b/_testing/phpunit.xml
@@ -7,6 +7,9 @@
<testsuite name="Default Unit Tests">
<directory suffix=".test.php">unittests/</directory>
</testsuite>
+ <testsuite name="Plugin tests">
+ <directory suffix=".test.php">../lib/plugins/*/_testing</directory>
+ </testsuite>
</testsuites>
</phpunit>