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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.