1.0.0 • Published 4 years ago

testcafe-reporter-subbu v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

testcafe-reporter-subbu

Build Status

This is the subbu reporter plugin for TestCafe.

Install

npm install testcafe-reporter-subbu

Usage

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 subbu

When 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

1.0.0

4 years ago