Skip to content

Commit ec53ba3

Browse files
authored
chore: move KNAPSACK_PRO_RSPEC_TEST_EXAMPLE_DETECTOR_PREFIX
1 parent db80b8b commit ec53ba3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docusaurus/docs/ruby/reference.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -316,18 +316,6 @@ Available:
316316

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

319-
## `KNAPSACK_PRO_RSPEC_TEST_EXAMPLE_DETECTOR_PREFIX` (RSpec)
320-
321-
Customize the prefix used for generating test examples report when using `KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true`.
322-
323-
Default: `"bundle exec"`
324-
325-
Available:
326-
327-
- `"bundle exec"`
328-
- `"MY_CUSTOM_VARIABLE='value' bundle exec"` in case you need to pass a custom environment variable to the `rake knasack_pro:rspec_test_example_detector` task that generates a test examples report of slow test files
329-
- try `""` to remove the `bundle exec` prefix in case of [issues](split-by-test-examples.mdx#how-do-i-fix-dont-know-how-to-build-task-knapsack_prorspec_test_example_detector)
330-
331319
## `KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES_FILE` (RSpec)
332320

333321
By default, Knapsack Pro calculates the [Split by Test Examples](split-by-test-examples.mdx) as part of the test run.
@@ -349,6 +337,18 @@ bundle exec rake knapsack_pro:rspec:precalculate_split_by_test_examples
349337
bundle exec rake knapsack_pro:queue:rspec
350338
```
351339

340+
## `KNAPSACK_PRO_RSPEC_TEST_EXAMPLE_DETECTOR_PREFIX` (RSpec)
341+
342+
Customize the prefix used for generating test examples report when using `KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true`.
343+
344+
Default: `"bundle exec"`
345+
346+
Available:
347+
348+
- `"bundle exec"`
349+
- `"MY_CUSTOM_VARIABLE='value' bundle exec"` in case you need to pass a custom environment variable to the `rake knasack_pro:rspec_test_example_detector` task that generates a test examples report of slow test files
350+
- try `""` to remove the `bundle exec` prefix in case of [issues](split-by-test-examples.mdx#how-do-i-fix-dont-know-how-to-build-task-knapsack_prorspec_test_example_detector)
351+
352352
## `KNAPSACK_PRO_SALT`
353353

354354
Salt to use to [Encrypt Test File Names or Branch Names](encryption.mdx).

0 commit comments

Comments
 (0)