Skip to content

Instantly share code, notes, and snippets.

@gahcep
Created February 10, 2013 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gahcep/4749800 to your computer and use it in GitHub Desktop.
Save gahcep/4749800 to your computer and use it in GitHub Desktop.
Article 'QA in Python - working with unittest'
import unittest
loader = unittest.TestLoader()
suite = loader.discover(start_dir='.', pattern='pyexample_*.py')
runner = unittest.TextTestRunner(verbosity=2)
result = runner.run(suite)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment