From b29a32b960e0825e3cd69756c4a95ee38f8c9e8c Mon Sep 17 00:00:00 2001 From: Piotr Kuczynski Date: Thu, 9 May 2019 19:11:30 +0200 Subject: [PATCH] Option to define custom report name for xunit reporter Based on #2628 --- docs/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/index.md b/docs/index.md index 234682c4a4..a3fa090632 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1467,6 +1467,8 @@ The `xunit` reporter is also available. It outputs an XUnit-compatible XML docum By default, it will output to the console. To write directly to a file, use `--reporter-options output=filename.xml`. +To specify custom report title, use `--reporter-options suiteName="Custom name"`. + ### Third-Party Reporters Mocha allows you to define custom reporters. For more information see the [wiki][mocha-wiki-more-reporters].