aboutsummaryrefslogtreecommitdiffstats
path: root/test/all_tests.py
blob: 66e069b230cf76b486a4355f54fc02ef38ce3375 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import sys
import os.path
sys.path.insert(0, os.path.realpath(os.path.dirname(__file__) + "/.."))

import logging
logging.basicConfig(level=logging.INFO)
import unittest
import test_load
import test_input
import test_reader
import test_output
import test_writer

if __name__ == "__main__":
    loader = unittest.TestLoader()
    suite = loader.loadTestsFromModule(test_load)
    #suite.addTests(loader.loadTestsFromModule(test_input))
    suite.addTests(loader.loadTestsFromModule(test_reader))
    #suite.addTests(loader.loadTestsFromModule(test_output))
    #suite.addTests(loader.loadTestsFromModule(test_writer))

    runner = unittest.TextTestRunner(verbosity=2)
    result = runner.run(suite)