serpapi / turbo_tests

Run RSpec tests on multiple cores. Like parallel_tests but with incremental summarized output. Originally extracted from the Discourse and Rubygems source code.
https://rubygems.org/gems/turbo_tests
MIT License
172 stars 26 forks source link

Capture time to load files #1

Closed ilyazub closed 3 years ago

ilyazub commented 3 years ago

The summary contains files took 0 seconds to load instead of actual time. The goal is to capture it properly.

$ bundle exec turbo_spec
...........................................................................................................................................................................................
...........................................................................................................................................................................................
...........................................................................................................................................................................................
.........................................................................................................................................F.................................................
.......................................................................................F...................................................................................................
...........................................................................................................................................................................................
...........................................................................................................................................................................................
...........................................................................................................................................................................................
...........................................................................................................................................................................................

Finished in 2 minutes 25.15 seconds (files took 0 seconds to load)
6873 examples, 2 failures