Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate spec runtimes? #27

Open
john-h-k opened this issue Mar 2, 2023 · 3 comments
Open

How to generate spec runtimes? #27

john-h-k opened this issue Mar 2, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@john-h-k
Copy link

john-h-k commented Mar 2, 2023

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

@ilyazub
Copy link
Collaborator

ilyazub commented Mar 7, 2023

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

@john-h-k
Copy link
Author

john-h-k commented Mar 7, 2023

For me that file is empty after every run

@ilyazub
Copy link
Collaborator

ilyazub commented Mar 8, 2023

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 ilyazub added the bug Something isn't working label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants