Skip to content

Commit

Permalink
feat: ignore timing for failed specs (#133)
Browse files Browse the repository at this point in the history
* feat: ignore timing for failed specs

* bump dependencies
  • Loading branch information
bahmutov committed Oct 16, 2023
1 parent 5e3ab9f commit 487c697
Show file tree
Hide file tree
Showing 4 changed files with 367 additions and 251 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ $ npx cypress run --env split=3,splitFile=timings.json

For specs not in the timings file, it will use average duration of the known specs. The timings file might not exist, in this case the specs are split by name. At the end of the run, the duration of all run specs is printed and can be saved into the timings JSON file. **Note:** you would need to combine the timings from different runners into a single JSON file yourself.

If the timings file does not exist yet, the timings will be written into the file after the run finishes. If the file exists, and the new timings have new entries or the existing entries are off by more than 10% duration, the merged file is written back.
If the timings file does not exist yet, the timings will be written into the file after the run finishes. If the file exists, and the new timings have new entries or the existing entries are off by more than 10% duration, the merged file is written back. Timing for specs without any passes tests or with failed tests is ignored.

## CI summary

Expand Down

0 comments on commit 487c697

Please sign in to comment.