Created
February 2, 2011 18:07
-
-
Save serian/808098 to your computer and use it in GitHub Desktop.
python unittest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suite = unittest.TestSuite() | |
suite_a= unittest.TestLoader().loadTestsFromTestCase(SomeClassATest) | |
suite_b = unittest.TestLoader().loadTestsFromTestCase(SomeClassBTest) | |
suite.addTest(suite_a) | |
suite.addTest(suite_b) | |
unittest.TextTestRunner().run(suite) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment