Skip to content

Instantly share code, notes, and snippets.

@sanjitk7
Last active June 16, 2020 08:37
Show Gist options
  • Save sanjitk7/74467045b140d22aa9bdb90f64782364 to your computer and use it in GitHub Desktop.
Save sanjitk7/74467045b140d22aa9bdb90f64782364 to your computer and use it in GitHub Desktop.
creating a test suite
import unittest
loader = unittest.TestLoader()
tests = loader.discover('.','test*')
testRunner = unittest.runner.TextTestRunner()
testRunner.run(tests)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment