Closed ttoomey closed 3 days ago
Do you have a sense of how much time overall this shaves off? It looks like this is most useful when running a handful of tests locally, which is also a big win.
It shouldn't impact overall CI run time. It's really just to allow rapid iteration on a single test. Once spring is started, the time to run one test is about 3 seconds (in my env).
I rely pretty heavily on the Rubymine graphical debugger for running rspec tests, and this has broken something for me, but after spending about 1.5hr trying to debug it, I think I'm in over my head. I'll leave it for now and try to come back to it later. :(
I rely pretty heavily on the Rubymine graphical debugger for running rspec tests, and this has broken something for me, but after spending about 1.5hr trying to debug it, I think I'm in over my head. I'll leave it for now and try to come back to it later. :(
Sorry @martha! Happy to pair on this if it would be helpful
Please squash merge this PR
Description
The goal is to reduce the time required to run an individual test. On my local env, this was around 25 seconds. With these changes, the time goes to around 3 seconds.
changes:
example:
Type of change
Checklist before requesting review