futantan / testcafe-reporter-to-testrail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

testcafe-reporter-to-testrail

Build Status

This is the to-testrail reporter plugin for TestCafe.

preview

Install

npm install testcafe-reporter-to-testrail

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 to-testrail

When you use API, pass the reporter name to the reporter() method:

testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('chrome')
    .reporter('to-testrail') // <-
    .run();

Author

Tantan Fu (http://x)

About

License:MIT License


Languages

Language:JavaScript 100.0%