From c81344062f752d6212c374a5335a7be5761bd212 Mon Sep 17 00:00:00 2001 From: Vyacheslav Frolov Date: Wed, 14 Aug 2024 17:14:53 +0100 Subject: [PATCH] Add documentation on Composite test reporter --- cli/test-suites-and-reports.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cli/test-suites-and-reports.md b/cli/test-suites-and-reports.md index 1dc3cce..cf45c14 100644 --- a/cli/test-suites-and-reports.md +++ b/cli/test-suites-and-reports.md @@ -38,6 +38,15 @@ Once execution completes, the report will be stored in a `report.xml` file in a ![html](https://github.com/depapp/maestro-docs/assets/6134774/8fedda56-de5e-411d-8501-63bf3c581e90) +* `composite` - Composite reporter generates both JUnit XML and HTML reports.
+It is useful for CI, when JUnit XML is consumed by CI, and HTML for People to view.
+To generate both JUnit and HTML reports use `--format composite` in test launch command:

+`maestro test --format composite --output "reports_dir/" myFolderWithTests/`

+Test reports will be generated in subfolders `JUnit` and `Html`: + - `reports_dir/JUnit/report.xml` + - `reports_dir/Html/report.html` +

+ #### Additional options * `--output {file}` allows to override the report filename