Skip to content

Commit

Permalink
docs: add merge-ctrf
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas committed Jun 7, 2024
1 parent a768f06 commit 4d615f3
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 @@ -118,6 +118,20 @@ reporter: [
],
```

## Merge reports

With WDIO v5 upwards, reporting has moved from a centralized process to one that is handled by each of the "sessions" spun up for parallel test execution. This change helped reduce the amount of chatter during WDIO test execution and thus improved performance. The downside is it is no longer possible to get a single report for all test execution.

[merge-ctrf](https://github.com/ctrf-io/merge-ctrf) package provides a utility to merge the multiple json files into a single file.

After executing your tests, use the following command:

```sh
npx merge-ctrf <directory>
```

Replace directory with the path to the directory containing the CTRF reports you want to merge.

## Test Object Properties

The test object in the report includes the following [CTRF properties](https://ctrf.io/docs/schema/test):
Expand Down

0 comments on commit 4d615f3

Please sign in to comment.