I have a basic question.
I already have a RoR application which has hundreds of test cases defined.
Recently, I came across a term called “Spork”. Now this gem is supposed to increase the speed of the execution of test cases (or loading of it)
I did search a lot on the same, but could not make head or tail of it.
Can someone help me out on this and make me understand how to use Spork?
All help is greatly appreciated!
For rspek run:
For cucumber run:
and for testunit,install the spork-testunit gem and run:
Follow the instructions.
Finally, run spork. A DRb server will be running!:
On this time if you run your tests with “rake spec” the drb server is loaded and your tests will pass in minimum half the time
For additional informations look at the spork githup repo