一、禁用代码语法突出显示,可以提高报告打开的性能
Newman执行命令拼接 :- -reporter-htmlextra-noSyntaxHighlighting
命令示例:
newman run collection.json -r htmlextra --reporter-htmlextra-noSyntaxHighlighting
二、更改浏览器选项卡标题【默认为 Newman Summary Report】
Newman执行命令拼接 : - -reporter-htmlextra-browserTitle
命令示例:
newman run collection.json -r htmlextra --reporter-htmlextra-browserTitle "xxx测试报告"
三、修改测试报告标题文案【默认为 Newman Run Dashboard】
Newman执行命令拼接 : - -reporter-htmlextra-title1
命令示例:
newman run collection.json -r htmlextra --reporter-htmlextra-title "xxxz自动化测试报告"
这里的 - - 是连续的,不带有空格 ↩︎