Created
February 10, 2013 14:54
-
-
Save gahcep/4749800 to your computer and use it in GitHub Desktop.
Article 'QA in Python - working with 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
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