testngReport 思路 重写testNG的IReporter,组装html文件; 将bootstrap的样式直接写入到html文件中; 运行方法 运行testNG.xml文件后到test-output目录找到emailable-custom-report.html文件,这个文件就是优化后的报告 效果图