简洁报告器
一个以简洁风格报告的WebdriverIO插件。
安装
最简单的方法是通过以下方式将@wdio/concise-reporter
作为devDependency保存在你的package.json
中:
npm install @wdio/concise-reporter --save-dev
关于如何安装WebdriverIO
的说明可以在这里找到。
配置
以下代码显示了默认的wdio测试运行器配置。只需将'concise'
作为报告器添加到数组中即可。
// wdio.conf.js
module.exports = {
// ...
reporters: ['dot', 'concise'],
// ...
};