diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-08-31 07:51:53 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-08-31 21:09:18 +0100 |
| commit | 642975bab7bb2d943cd646b483bdf0f191a71ecc (patch) | |
| tree | 10fe75dad41c7ed2ebb762ef565e3c653672b50f /client | |
| parent | bd72c31b6e9e08c03198c106c49ebf904a50a9cb (diff) | |
| download | jasper-client-642975bab7bb2d943cd646b483bdf0f191a71ecc.tar.gz jasper-client-642975bab7bb2d943cd646b483bdf0f191a71ecc.zip | |
Run all test cases together
This allows nicer output, as all the test results are grouped, and with
a glimpse you can determine wether they passed or not
Diffstat (limited to 'client')
| -rw-r--r-- | client/test.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/test.py b/client/test.py index 0c35cbf..29b9ce0 100644 --- a/client/test.py +++ b/client/test.py @@ -205,6 +205,9 @@ if __name__ == '__main__': test_cases.append(TestG2P) test_cases.append(TestMic) + suite = unittest.TestSuite() + for test_case in test_cases: - suite = unittest.TestLoader().loadTestsFromTestCase(test_case) - unittest.TextTestRunner(verbosity=2).run(suite) + suite.addTests(unittest.TestLoader().loadTestsFromTestCase(test_case)) + + unittest.TextTestRunner(verbosity=2).run(suite) |
