testcafe-reporter-subbu
v1.0.0
Published
subbu TestCafe reporter plugin.
Maintainers
Readme
testcafe-reporter-subbu
This is the subbu reporter plugin for TestCafe.
Install
npm install testcafe-reporter-subbuUsage
When you run tests from the command line, specify the reporter name by using the --reporter option:
testcafe chrome 'path/to/test/file.js' --reporter subbuWhen you use API, pass the reporter name to the reporter() method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.screenshots({
path: 'Reports/screenshots/',
takeOnFails: true,
pathPattern: "${DATE}/${TIME}/${TEST_INDEX}/${USERAGENT}/${FILE_INDEX}.png"
})
.reporter([{
name: "subbu",
output: "./Reports/testReport.html"
}])// <-
.browsers('chrome')
.run();Author
Subbareddy
