Skip to content

Commit dfbf021

Browse files
committed
chore: remove KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES_FILE
1 parent 4a411c6 commit dfbf021

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

docusaurus/docs/ruby/reference.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -306,27 +306,6 @@ Available:
306306

307307
Make sure to read the details in [Split by test examples](split-by-test-examples.mdx).
308308

309-
## `KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES_FILE` (RSpec)
310-
311-
By default, Knapsack Pro calculates the [Split by Test Examples](split-by-test-examples.mdx) as part of the test run.
312-
313-
You may want to precalculate the split *once* to avoid doing it later in each node running Knapsack Pro.
314-
315-
To enable the precalculation set `KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES_FILE` for both the `bundle exec rake knapsack_pro:rspec:precalculate_split_by_test_examples` and `bundle exec rake knapsack_pro:queue:rspec`.
316-
317-
Default: unset
318-
319-
Example:
320-
321-
```bash
322-
export KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES_FILE=report.json
323-
324-
bundle exec rake knapsack_pro:rspec:precalculate_split_by_test_examples
325-
326-
# On each parallel CI node:
327-
bundle exec rake knapsack_pro:queue:rspec
328-
```
329-
330309
## `KNAPSACK_PRO_RSPEC_TEST_EXAMPLE_DETECTOR_PREFIX` (RSpec)
331310

332311
Customize the prefix used for generating test examples report when using `KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true`.

0 commit comments

Comments
 (0)