HtmlTestRunner
HtmlTestRunner copied to clipboard
Why my html report shows so simple, not colorful likes your ReadMe?Do I need to specify an html template?
- HtmlTestRunner version: 1.2.1
- Python version: 3.7
- Operating System: windows / centos 7.6
Description
too simple, not colorful like ReadMe. it is onle white.
What I Did
runner = HtmlTestRunner.HTMLTestRunner(
output=test_edge_site.test_dir + '/output/unittest/html', combine_reports=True, report_name='test_detail',
add_timestamp=False)
runner.run(suite)
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
pic?
As far as I can see, it usually happens when you are behind the GFW and have unstable access to 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css' or 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js' which are necessary for rendering the htmls. Using your own template file may solve this problem.