Open claude opened 12 years ago
+1
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
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?