diff --git a/tods/tests/data_processing/__init__.py b/tods/tests/data_processing/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tods/tests/data_processing/run_tests.py b/tods/tests/data_processing/run_tests.py new file mode 100755 index 0000000..16e2374 --- /dev/null +++ b/tods/tests/data_processing/run_tests.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 + +import sys +import unittest + +runner = unittest.TextTestRunner(verbosity=1) +tests = unittest.TestLoader().discover('./') +if not runner.run(tests).wasSuccessful(): + sys.exit(1) + +#for each in ['data_processing', 'timeseries_processing', 'feature_analysis', 'detection_algorithm']: +# tests = unittest.TestLoader().discover(each) +# if not runner.run(tests).wasSuccessful(): +# sys.exit(1) diff --git a/tods/tests/detection_algorithm/__init__.py b/tods/tests/detection_algorithm/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tods/tests/detection_algorithm/run_tests.py b/tods/tests/detection_algorithm/run_tests.py new file mode 100755 index 0000000..16e2374 --- /dev/null +++ b/tods/tests/detection_algorithm/run_tests.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 + +import sys +import unittest + +runner = unittest.TextTestRunner(verbosity=1) +tests = unittest.TestLoader().discover('./') +if not runner.run(tests).wasSuccessful(): + sys.exit(1) + +#for each in ['data_processing', 'timeseries_processing', 'feature_analysis', 'detection_algorithm']: +# tests = unittest.TestLoader().discover(each) +# if not runner.run(tests).wasSuccessful(): +# sys.exit(1) diff --git a/tods/tests/feature_analysis/__init__.py b/tods/tests/feature_analysis/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tods/tests/feature_analysis/run_tests.py b/tods/tests/feature_analysis/run_tests.py new file mode 100755 index 0000000..16e2374 --- /dev/null +++ b/tods/tests/feature_analysis/run_tests.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 + +import sys +import unittest + +runner = unittest.TextTestRunner(verbosity=1) +tests = unittest.TestLoader().discover('./') +if not runner.run(tests).wasSuccessful(): + sys.exit(1) + +#for each in ['data_processing', 'timeseries_processing', 'feature_analysis', 'detection_algorithm']: +# tests = unittest.TestLoader().discover(each) +# if not runner.run(tests).wasSuccessful(): +# sys.exit(1) diff --git a/tods/tests/timeseries_processing/__init__.py b/tods/tests/timeseries_processing/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tods/tests/timeseries_processing/run_tests.py b/tods/tests/timeseries_processing/run_tests.py new file mode 100755 index 0000000..16e2374 --- /dev/null +++ b/tods/tests/timeseries_processing/run_tests.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 + +import sys +import unittest + +runner = unittest.TextTestRunner(verbosity=1) +tests = unittest.TestLoader().discover('./') +if not runner.run(tests).wasSuccessful(): + sys.exit(1) + +#for each in ['data_processing', 'timeseries_processing', 'feature_analysis', 'detection_algorithm']: +# tests = unittest.TestLoader().discover(each) +# if not runner.run(tests).wasSuccessful(): +# sys.exit(1)