Sessions at ArrrrCamp 5 about Testing with video

Your current filters are…

Clear

Friday 7th October 2011

  • Practical testing for assorted languages

    by Jonas Nicklas

    You're building web applications and now you're writing tests as well. But do your tests really cover all parts of your application? What about that pile of JavaScript spaghetti that keeps on growing? In this session you will learn practical techniques to test a larger part of your Ruby code, as well as how to write testable JavaScript, and cover it with solid, flexible and useful unit tests. A solid, comprehensive test suite allows you to take charge of your codebase and refactor with confidence.

    At 11:45am to 12:35pm, Friday 7th October

    Coverage video

  • Build and Test APIs with Ruby and Cucumber

    by Comte Anthony Eden

    Web apps are hot, web apps with APIs are even hotter. These days popular sites are opening up more and more of their functionality via web APIs and you should too. This talk will cover how to develop web APIs with Ruby, either using Rails or Sinatra. It will also cover how to test those APIs with Cucumber.

    At 1:45pm to 2:35pm, Friday 7th October

  • Fast Rails Tests

    by Corey Haines

    Look at your Rails unit test suite. Now look at mine. Now look at yours again. Mine are sub-second. Yours aren't. Having a slow unit test suite can hinder an effective test-first or test-driven approach to development. As you add tests, the suite starts to slow down to the point where you stop running them after each change. Some people even talk about multi-minute unit tests suites! Band-aids like spork are just covering up the problem. Test-driven development is a major player in keeping your design malleable and accepting of new features, but when you stop paying attention to the messages your tests are sending you, you lose this benefit. In this talk, I will go over some techniques for keeping your test suite lean and fast. Along the way, we'll discuss the design improvements that come out of these changes. Now, look at my unit test suite again. Yours can be like mine.

    At 4:45pm to 5:45pm, Friday 7th October

    Coverage photo video