codeceptjs-monocart-coverage
v1.0.1
Published
CodeceptJS Monocart Coverage Reports
Downloads
968
Readme
codeceptjs-monocart-coverage
A CodeceptJS plugin for monocart coverage reports
Install
npm i codeceptjs-monocart-coverage
Usage
// codecept.conf.js
{
plugins: {
monocart: {
require: 'codeceptjs-monocart-coverage',
enabled: true,
coverageOptions: {
name: 'My CodeceptJS Coverage Report',
outputDir: 'coverage-reports'
}
}
},
helpers: {
// Coverage is only supported in Playwright or Puppeteer
Playwright: {
browser: 'chromium',
url: 'http://localhost',
show: false
}
// Puppeteer: {
// url: 'http://localhost',
// show: false
// }
// WebDriver: {
// url: 'http://localhost',
// browser: 'chrome'
// }
}
}
Check repo monocart coverage reports for more options.