outputFile
- 类型:
string | Record<string, string> - 命令行:
--outputFile=<path>,--outputFile.json=./path
当同时指定了 --reporter=json、--reporter=html 或 --reporter=junit 选项时,将测试结果写入文件。 通过提供对象而不是字符串,你可以在使用多个报告器时定义独立的输出。
string | Record<string, string>--outputFile=<path>, --outputFile.json=./path当同时指定了 --reporter=json、--reporter=html 或 --reporter=junit 选项时,将测试结果写入文件。 通过提供对象而不是字符串,你可以在使用多个报告器时定义独立的输出。