diff options
author | Pjotr Prins | 2020-11-07 10:21:48 +0000 |
---|---|---|
committer | Pjotr Prins | 2020-11-07 10:21:48 +0000 |
commit | 8a02280c4bd05a7f8df598a75a1ea2d3caaddd7d (patch) | |
tree | f145ff22304589c4c7161da3cad01d90aeeba749 /test/runner.py | |
parent | 9709eca5c76aabe823ba34d976c5d11a9d150b76 (diff) | |
download | bh20-seq-resource-8a02280c4bd05a7f8df598a75a1ea2d3caaddd7d.tar.gz bh20-seq-resource-8a02280c4bd05a7f8df598a75a1ea2d3caaddd7d.tar.lz bh20-seq-resource-8a02280c4bd05a7f8df598a75a1ea2d3caaddd7d.zip |
Tests: add runner and frame for SPARQL
Diffstat (limited to 'test/runner.py')
-rw-r--r-- | test/runner.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/runner.py b/test/runner.py new file mode 100644 index 0000000..3cfe042 --- /dev/null +++ b/test/runner.py @@ -0,0 +1,17 @@ +# Run tests. python3 test/runner.py + +import unittest + +# initialize the test suite +loader = unittest.TestLoader() +suite = unittest.TestSuite() + +import test_shex +import test_sparql + +suite.addTests(loader.loadTestsFromModule(test_shex)) +suite.addTests(loader.loadTestsFromModule(test_sparql)) + +# initialize a runner, pass it your suite and run it +runner = unittest.TextTestRunner(verbosity=3) +result = runner.run(suite) |