Skip to content

Commit

Permalink
docs: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas authored Jul 20, 2024
1 parent da16343 commit dbfef49
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <directory>
```

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.
Expand Down

0 comments on commit dbfef49

Please sign in to comment.