Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add seed explicitly in turbo_rspec so that runs can be reproduced

Daniel Waterworthe55578681e01
diff --git a/lib/turbo_tests/runner.rb b/lib/turbo_tests/runner.rb
index 808e18a28ea..aa4d8c35e15 100644
--- a/lib/turbo_tests/runner.rb
+++ b/lib/turbo_tests/runner.rb
@@ -157,6 +157,7 @@ module TurboTests
command = [
"bundle", "exec", "rspec",
*extra_args,
+ "--seed", rand(2**16).to_s,
"--format", "TurboTests::JsonRowsFormatter",
"--out", tmp_filename,
*record_runtime_options,