Skip to content

Commit

Permalink
add a run_all_tests.py for e.g.: coverage run creole/tests/run_all_te…
Browse files Browse the repository at this point in the history
…sts.py
  • Loading branch information
jedie committed Oct 17, 2011
1 parent d33406a commit 6588aaf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
4 changes: 2 additions & 2 deletions creole/tests/__init__.py
Expand Up @@ -2,8 +2,8 @@
# coding: utf-8

"""
run all unittests
~~~~~~~~~~~~~~~~~
python-creole unittests
~~~~~~~~~~~~~~~~~~~~~~~
:copyleft: 2008-2011 by python-creole team, see AUTHORS for more details.
:license: GNU GPL v3 or above, see LICENSE for more details.
Expand Down
4 changes: 2 additions & 2 deletions creole/tests/all_tests.py
Expand Up @@ -2,8 +2,8 @@
# coding: utf-8

"""
run all unittests
~~~~~~~~~~~~~~~~~
collects all existing unittests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyleft: 2008-2011 by python-creole team, see AUTHORS for more details.
:license: GNU GPL v3 or above, see LICENSE for more details.
Expand Down
20 changes: 20 additions & 0 deletions 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()

0 comments on commit 6588aaf

Please sign in to comment.