drewdeponte / octopusci

A multi-branch continuous integration server
MIT License
19 stars 2 forks source link

Parallel execution of specs and cukes #43

Open claude opened 12 years ago

claude commented 12 years ago

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?

oreoshake commented 12 years ago

+1

oreoshake commented 12 years ago

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