turbo_tests icon indicating copy to clipboard operation
turbo_tests copied to clipboard

How to generate spec runtimes?

Open john-h-k opened this issue 3 years ago • 3 comments

I want to regenerate an old parallel_runtime_rspec.log, but how to do it with this gem is unclear

john-h-k avatar Mar 02 '23 18:03 john-h-k

Thanks for your question, @john-h-k.

The runtime log is updated automatically. The default path is ./tmp/turbo_rspec_runtime.log.

The --runtime-log FILE option provides a way to change the log file path. Introduced in #16.

bundle exec turbo_tests --runtime-log tmp/parallel_runtime_rspec.log

ilyazub avatar Mar 07 '23 13:03 ilyazub

For me that file is empty after every run

john-h-k avatar Mar 07 '23 18:03 john-h-k

Thanks! Can confirm it's a bug.

$ bundle exec turbo_tests  --runtime-log tmp/some_log.log ./spec/lib/
# Omitted...

$ ls tmp/some_log.log
ls: cannot access 'tmp/some_log.log': No such file or directory

ilyazub avatar Mar 08 '23 13:03 ilyazub