diff --git a/README.md b/README.md index 3b53317..d7e515b 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,20 @@ npx teams-ctrf results /path/to/ctrf-file.json -f - `--onFailOnly, -f`: Send notification only if there are failed tests. +- ## Merge reports + +You can merge reports if your chosen reporter generates multiple reports through design, parallelisation or otherwise. + +The [ctrf-cli](https://github.com/ctrf-io/ctrf-cli) package provides a method to merge multiple ctrf json files into a single file. + +After executing your tests, use the following command: + +```sh +npx ctrf merge +``` + +Replace directory with the path to the directory containing the CTRF reports you want to merge. + ## What is CTRF? CTRF is a universal JSON test report schema that addresses the lack of a standardized format for JSON test reports.