Skip to content

Instantly share code, notes, and snippets.

@AndyLPK247
Created March 10, 2017 02:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndyLPK247/e2c1ccd1ded09ffa5f7283f3f9ad9258 to your computer and use it in GitHub Desktop.
Save AndyLPK247/e2c1ccd1ded09ffa5f7283f3f9ad9258 to your computer and use it in GitHub Desktop.
Python Testing 101 unittest Example: XML Report Generator
if __name__ == '__main__':
import xmlrunner
unittest.main(
testRunner=xmlrunner.XMLTestRunner(output='test-reports'),
failfast=False,
buffer=False,
catchbreak=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment