Simple test runner that discovers tests.

This commit is contained in:
Emil Stenström 2015-06-11 20:40:47 +02:00
parent 28f243d50a
commit 22b00a4a62

8
run_tests.py Normal file
View file

@ -0,0 +1,8 @@
import unittest
# Runs all tests found in filenames matching "test*""
if __name__ == '__main__':
test_loader = unittest.defaultTestLoader
test_runner = unittest.TextTestRunner()
test_suite = test_loader.discover('.')
test_runner.run(test_suite)