On 15 May 2020, at 19:34, Malini Gowda wrote:

Is there any gem which generates parallel report in rspec when executed in parallel?

Not that I know of. We investigated a few options for parallel test execution and did stick with one for a while, but in the end all the solutions we tried were unreliable. Ironically, given that the only reason the gems exist is to support concurrent test execution, none of them seemed to deal with concurrency properly and suffered various race conditions or general oversights. Splitting of logged output and things like incorrect or missing 'rcov' coverage were common problems.

We chose instead to split our test suite in parallel CI runs - currently we have one executing system specs and another executing everything else. That has been our least-worst option so far - certainly a lot easier than trying to remote debug complex timing issues in complex gems, or try and develop our own gem that might well have been no better anyway. We do still only get a good RCov report or logging if we run in series, and local development always has to do so.

--
Andrew Hodgkinson
Senior Developer | API Specialist

W:    ripglobal.com
A:    Level 2, 40 Taranaki Street, Wellington 6011
NZBN: 9429030851955

--
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/5DEC3726-2DC4-4AC6-9832-560B6514D342%40ripglobal.com.

Reply via email to