Skip to content

Commit 424465d

Browse files
authored
Enhance caution section with additional notes
Added a note about spreading test examples into multiple files and clarified that 'Split by test examples' ignores SPEC_OPTS.
1 parent af9ca67 commit 424465d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docusaurus/docs/ruby/split-by-test-examples.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ import { IconExternalLink } from '@site/src/components/IconExternalLink'
1818

1919
:::caution
2020

21-
Only RSpec is supported, [let us know](https://knapsackpro.com/contact) if you use a different test runner.
21+
Only RSpec is supported, [let us know](https://knapsackpro.com/contact) if you use a different test runner. As an alternative, consider spreading test examples into multiple files.
2222

23-
As an alternative, consider spreading test examples into multiple files.
23+
:::
24+
25+
:::caution
26+
27+
Split by test examples ignores `SPEC_OPTS`, so either use [command-line arguments](reference.md#command-line-arguments) or `.rspec`.
2428

2529
:::
2630

0 commit comments

Comments
 (0)