Is there any way to run a capybara server?

By : Ben
Source: Stackoverflow.com
Question!

I am looking for a way to get my cucumber test with selenium and capybara to skip the startup of the server on each run of the test. Is there a way to let is startup in the background and stay running and attach to it on each test run?

By : Ben


Answers
Have you tried using Spork? https://github.com/timcharper/spork

It basically forks a copy of your server each time you run your tests but doesn't require it to restart the whole Rails environment every time so saves you huge amounts of time if you have a large Rails app.

By : Ben


This video can help you solving your question :)
By: admin