This script is Python unittest runner. Check the pep8 coding style at the same time.
Make testsuite directory and put test cases in it.
Then run python runtests.py [options]
.
--report
: Generate xml report. This option depends on unittest-xml-reporting.--without-pep8
: Run tests without pep8 checking.--pattern <pettern>
: Pattern to match test files (‘test*.py’ default)
2010 09 20 Pythonのコーディング規約pep8チェックをUnitTestに組み込んでみた - 清水川Web