Run RSpec tests on multiple cores. Like parallel_tests but with incremental summarized output. Originally extracted from the Discourse and Rubygems source code.
To visualize the effect I added a slight delay in the spec, which gets evaluated on loading, therefore adding more loading time which gets correctly reflected in the summary report.
Additionally I took the liberty of improving the rounding of "specs per process" value, e.g. with 7 specs and 4 processes now it reports ~2 specs per process. 😊
This PR fixes the issue https://github.com/serpapi/turbo_tests/issues/1 about capturing the file load time.
To visualize the effect I added a slight delay in the spec, which gets evaluated on loading, therefore adding more loading time which gets correctly reflected in the summary report.
Additionally I took the liberty of improving the rounding of "specs per process" value, e.g. with 7 specs and 4 processes now it reports ~2 specs per process. 😊
Lastly, I merged in my previous PR https://github.com/serpapi/turbo_tests/pull/7, resolved the conflicts, and bumped the version relative to the current master.