You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docusaurus/docs/ruby/troubleshooting.mdx
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -516,3 +516,27 @@ Please consider:
516
516
517
517
-[Splitting by test examples](split-by-test-examples.mdx) if you have a bottleneck file that is packed with test examples
518
518
- If it's a retry, remember that [`KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true`](reference.md#knapsack_pro_fixed_queue_split-queue-mode) uses a cached split
519
+
520
+
## Missing test execution times in Minitest
521
+
522
+
Test execution times are not measured if you use the `minitest-spec-rails` gem with the not-recommended test style:
523
+
524
+
```ruby
525
+
require'test_helper'
526
+
describe Userdo
527
+
# THIS IS NOT RECOMMENDED!
528
+
end
529
+
```
530
+
531
+
Please use [the recommended style as suggested in the minitest-spec-rails documentation](https://github.com/metaskills/minitest-spec-rails?tab=readme-ov-file#test-styles).
532
+
Only then Knapsack Pro can measure test execution times.
0 commit comments