<div dir="ltr">A classic problem would be that it’s not cucumber, but the app itself has a long boot up period. If the app takes a while to start up as a normal server or console then perhaps look at tools like spring(<a href="https://github.com/rails/spring">https://github.com/rails/spring</a>) or zeus(<a href="https://github.com/burke/zeus">https://github.com/burke/zeus</a>) to pre-load the environment so the tests don’t take the boot up hit to run.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 14 March 2014 12:41, Jon Wood <span dir="ltr"><<a href="mailto:jon@ninjagiraffes.co.uk" target="_blank">jon@ninjagiraffes.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello El Rug,<div><br></div><div>I'm currently at my wits end with a Cucumber suite, but I also don't have any decent ideas on how to improve it. Running a really simple feature which loads a page and asserts some content is found currently takes over two minutes, which as I'm sure you can imagine makes doing BDD properly quite awkward.</div>
<div><br></div><div>To give a little context this is a Rails 2.3 application, running on Ruby 1.8. Upgrading to a newer version of Ruby is in the backlog, but isn't a viable option right now.</div><div><br></div><div>
So, does anyone have any tips on speeding things up, or even just working out where I should start working to speed them up?</div><div><br></div><div>Thanks,</div><div>Jon</div></div>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br></div>