Tests: added basic infrastructure.

This commit is contained in:
Andrey Zelenkov
2017-11-21 20:51:21 +03:00
parent 78a77c3e38
commit 863377441b
4 changed files with 425 additions and 0 deletions

14
test/run.py Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/python3
import unittest
import os
loader = unittest.TestLoader()
suite = unittest.TestSuite()
this_dir = os.path.dirname(__file__)
tests = loader.discover(start_dir=this_dir)
suite.addTests(tests)
runner = unittest.TextTestRunner(verbosity=3)
result = runner.run(suite)