blob: 3cfe0423d919888691c4754b8c7c8e3d1d0f9f73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
|