aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTinWoodman92 <chrhodgden@gmail.com>2023-07-05 21:26:02 -0500
committerTinWoodman92 <chrhodgden@gmail.com>2023-07-05 21:26:02 -0500
commit731177ac3b8b3ac78958ca5b90b41ccd652727c0 (patch)
tree6aaad6d01be483254c0924d92277953b0c1d7b80
parent875e650865586b795af73373af288148ec231c49 (diff)
Added test runner.
-rw-r--r--run_tests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py
new file mode 100644
index 0000000..ebe7bf4
--- /dev/null
+++ b/run_tests.py
@@ -0,0 +1,7 @@
+import unittest
+
+if __name__ == "__main__":
+ loader = unittest.TestLoader()
+ suite = loader.discover("tests", pattern="test_*.py")
+ runner = unittest.TextTestRunner()
+ result = runner.run(suite)