Innovenergy_trunk/frontend/node_modules/testcafe-reporter-dashboard/README.md

32 lines
604 B
Markdown
Raw Normal View History

# testcafe-reporter-dashboard
This is the **dashboard** reporter plugin for [TestCafe](http://devexpress.github.io/testcafe).
## Install
```
npm install testcafe-reporter-dashboard
```
## 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 dashboard
```
When you use API, pass the reporter name to the `reporter()` method:
```js
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('dashboard') // <-
.run();
```
## Author
aleks-pro