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

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

diff --git a/lib/turbo_tests/runner.rb b/lib/turbo_tests/runner.rb
index 808e18a..aa4d8c3 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,

GitHub sha: e5557868

1 Like