Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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