1 | # testcafe-reporter-minimal
|
2 | [![Build Status](https://travis-ci.org/DevExpress/testcafe-reporter-minimal.svg)](https://travis-ci.org/DevExpress/testcafe-reporter-minimal)
|
3 |
|
4 | This is the **Minimal** reporter plugin for [TestCafe](http://devexpress.github.io/testcafe).
|
5 |
|
6 | <p align="center">
|
7 | <img src="https://raw.github.com/DevExpress/testcafe-reporter-minimal/master/media/preview.png" alt="preview" />
|
8 | </p>
|
9 |
|
10 | ## Install
|
11 |
|
12 | ```
|
13 | npm install -g testcafe-reporter-minimal
|
14 | ```
|
15 |
|
16 | ## Usage
|
17 |
|
18 | When you run tests from the command line, specify the reporter name by using the `--reporter` option:
|
19 |
|
20 | ```
|
21 | testcafe chrome 'path/to/test/file.js' --reporter minimal
|
22 | ```
|
23 |
|
24 |
|
25 | When you use API, pass the reporter name to the `reporter()` method:
|
26 |
|
27 | ```js
|
28 | testCafe
|
29 | .createRunner()
|
30 | .src('path/to/test/file.js')
|
31 | .browsers('chrome')
|
32 | .reporter('minimal') // <-
|
33 | .run();
|
34 | ```
|
35 |
|
36 | ## Author
|
37 | Developer Express Inc. (https://devexpress.com)
|