From 863377441bdc70885d1bad80bbbd9c6a9a3646a7 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Tue, 21 Nov 2017 20:51:21 +0300 Subject: Tests: added basic infrastructure. --- test/run.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 test/run.py (limited to 'test/run.py') diff --git a/test/run.py b/test/run.py new file mode 100755 index 00000000..be76a4fb --- /dev/null +++ b/test/run.py @@ -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) -- cgit