Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Document option to define custom report name for XUnit reporter (#3906)

Piotr Kuczynskiffbcbf63a447
diff --git a/docs/index.md b/docs/index.md
index 234682c4..a3fa0906 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].