From 91ecbcec4f889a14cac6af26dae5908940089b1c Mon Sep 17 00:00:00 2001 From: Nicole Rockstar Crowley Date: Fri, 25 Feb 2022 15:01:45 -0500 Subject: [PATCH] Updated documentation for using multiple reporters --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ced0b01c5..a48498289 100644 --- a/README.md +++ b/README.md @@ -416,10 +416,11 @@ argument object.** ### Configuring Reporters - `-r `, `--reporters `
- Specify one reporter name as `string` or provide more than one reporter name as a comma separated list of reporter names. Available reporters are: `cli`, `json`, `junit`, `progress` and `emojitrain`.

+ Specify one reporter name as `string` or provide more than one reporter name as a comma separated list of reporter names _(wrapped in single quotes)_. Available reporters are: `cli`, `json`, `junit`, `progress` and `emojitrain`.

Spaces should **not** be used between reporter names / commas whilst specifying a comma separated list of reporters. For instance:

- :white_check_mark: `-r cli,json,junit`
- :x: `-r cli , json,junit` + :white_check_mark: `-r 'cli,json,junit'`
+ :x: `-r cli 'json, junit'` + :x: `-r cli 'json junit'` - `--reporter-{{reporter-name}}-{{reporter-option}}`
When multiple reporters are provided, if one needs to specifically override or provide an option to one reporter, this