Main Content

Rocket Fuelled Cucumbers

About the Talk

March 26, 2010 6:30 AM



You start a brand new green field Ruby project. You elegantly glide around your application sprinkling it with acceptance tests using tools like Cucumber. Time passes, test numbers grow and suddenly you find yourself wadding through the thick sludgy swamp of a 1+ hour test build. Your ability to deliver code in a timely manner gets difficult. Discipline gets slack "Well I know that fix will turn the build green so lets just deploy it anyway". Commit code now, find out in an hour if it breaks.

Joseph Wilk presents ways to battle performance problems with Acceptance tests. He will be focusing examples around Cucumber though the ideas and principles apply to many testing frameworks. He will be demonstrating how tools like TestJour can be used to distribute Cucumber features over many machines. The use of external cloud based testing services such as Devver. Using in-memory browser tools such as Celerity to speed up JavaScript testing. Reducing the need to start apps every time with tools like Spork and Snailgun. Demonstrating ways of intelligently selecting the optimal set of tests to run (using tools like Cucover), looking at ways of caching SQL activity based on Cucumber Scenarios (minimising database operations), sharing slow starting services, using combinatorial solutions to reduce large test sets and breaking up large systems upon domain boundaries.

Ratings and Recommendations

Avg. Rating

Average based
on 10 ratings

comments powered by Disqus