summaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests.sh
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-13 23:24:21 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-13 23:24:21 +0100
commitc7ad1cc5b4a5d190a060e3ddd9274c3065da6708 (patch)
tree639062525ddde3b8c785f26a0f4091ec10d9e204 /tests/plugin_tests.sh
parentfixed pyflakes and sloccount (diff)
downloadpyload-c7ad1cc5b4a5d190a060e3ddd9274c3065da6708.tar.xz
plugin unit test, closed #499, #500
Diffstat (limited to 'tests/plugin_tests.sh')
-rwxr-xr-xtests/plugin_tests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/plugin_tests.sh b/tests/plugin_tests.sh
new file mode 100755
index 000000000..a0260b5bb
--- /dev/null
+++ b/tests/plugin_tests.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+NS=nosetests
+which nosetests2 > /dev/null && NS=nosetests2
+$NS tests/HosterPluginTester.py tests/CrypterPluginTester.py -s --with-xunit --with-coverage --cover-erase --cover-package=module.plugins
+coverage xml