Created
March 10, 2017 02:53
-
-
Save AndyLPK247/e2c1ccd1ded09ffa5f7283f3f9ad9258 to your computer and use it in GitHub Desktop.
Python Testing 101 unittest Example: XML Report Generator
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
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