1. Online Baidu download python2.x test template Htmltestrunner, placed in python2.x lib----->site-packages, directory
2.pycharm Import the Htmltestrunner test template, and then write a test report that is automatically generated.
3. After the local test is successful, use Git to submit the gitthup.
4. Configure Jenkins.
4.1. Plugin download HTML Publisher plugin
4.2. Configuration Items
4.3 Here, because the test report I generated was named Report.html, Jenkins took the HTML file to the sibling directory when building the code, and then the HTML Publisher plugin plugin extracted the HTML that Jenkins got.
4.4 Build successfully, will automatically generate an HTML report title on the page, click Enter, you can view the automated test reports.
The final HTML test report is not complete, in the System Management-----"script command line, System.setproperty (" Hudson.model.DirectoryBrowserSupport.CSP "," "")
Window Jenkins Automated Continuous Integration Report view configuration, Python-based language (2)