diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-12-19 20:18:09 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-12-19 20:18:09 +0100 |
commit | 1c340444a43d76c388153059aefd24276d8347a9 (patch) | |
tree | 5ce6a7c7c9feeb9cf6e1e793d7d742af709ed5be /tests/phpunit-autotest.xml | |
parent | 526e8730733f1ac1be76deacf2e45fba37f6fbb8 (diff) | |
download | nextcloud-server-1c340444a43d76c388153059aefd24276d8347a9.tar.gz nextcloud-server-1c340444a43d76c388153059aefd24276d8347a9.zip |
Added test cleanup listener to detect untidy tests
After each test suite, detects whether there are stray datafiles, hooks
or proxies, then show a warning and clear them.
Diffstat (limited to 'tests/phpunit-autotest.xml')
-rw-r--r-- | tests/phpunit-autotest.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/phpunit-autotest.xml b/tests/phpunit-autotest.xml index a893e96ad97..1a2ab35491b 100644 --- a/tests/phpunit-autotest.xml +++ b/tests/phpunit-autotest.xml @@ -35,5 +35,12 @@ </exclude> </whitelist> </filter> + <listeners> + <listener class="TestCleanupListener" file="testcleanuplistener.php"> + <arguments> + <string>detail</string> + </arguments> + </listener> + </listeners> </phpunit> |