octopusci icon indicating copy to clipboard operation
octopusci copied to clipboard

Parallel execution of specs and cukes

Open claude opened this issue 13 years ago • 2 comments

This might be a "someday" type of feature, but it would be cool if there is spare capacity to run my specs and cukes at the same time on two machines. Since the specs take like 10 min to run and cukes take like 45, I could get a response 10 minutes sooner if they ran in parallel. If the specs fail, it should be smart and tell the cukes to stop running?

claude avatar Dec 09 '11 21:12 claude

+1

oreoshake avatar Dec 10 '11 22:12 oreoshake

Could use the approach from https://github.com/grosser/parallel_tests

Just create a separate database with a counter variable in your database.yml and the test keeps track of which db to use. There's a script to create the parallel dbs too

oreoshake avatar Jan 03 '12 19:01 oreoshake