summaryrefslogtreecommitdiff
path: root/creole/tests/run_all_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'creole/tests/run_all_tests.py')
-rw-r--r--creole/tests/run_all_tests.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/creole/tests/run_all_tests.py b/creole/tests/run_all_tests.py
new file mode 100644
index 0000000..2d23106
--- /dev/null
+++ b/creole/tests/run_all_tests.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# coding: utf-8
+
+"""
+ run all unittests
+ ~~~~~~~~~~~~~~~~~
+
+ for e.g.:
+ coverage run creole/tests/run_all_tests.py
+
+ :copyleft: 2008-2011 by python-creole team, see AUTHORS for more details.
+ :license: GNU GPL v3 or above, see LICENSE for more details.
+"""
+
+from creole.tests import run_all_doctests, run_unittests
+
+
+if __name__ == '__main__':
+ run_all_doctests()
+ run_unittests()