Skip to content

Commit c005ad9

Browse files
committed
docs: rof locally
1 parent b604595 commit c005ad9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docusaurus/docs/ruby/retry-only-failures.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,14 @@ If you run your tests on 2 nodes, you could expect the following split:
6262
- Node 1: executes `c_spec.rb` successfully
6363

6464
If you retry Node 0, Retry only Failures will execute only `a_spec.rb[1:1:2]`. If you retry Node 1, Retry only Failures will execute no tests.
65+
66+
## Retry locally
67+
68+
After a build finished on CI, you can retry the failed tests locally with:
69+
70+
```bash
71+
export KNAPSACK_PRO_TEST_SUITE_TOKEN=MY_TOKEN
72+
bundle exec knapsack_pro retry
73+
```
74+
75+
Check `bundle exec knapsack_pro help retry` for all the options.

0 commit comments

Comments
 (0)