Don't Let Your Tests Flake Out

*
Accepted Session
Short Form
Beginner
Scheduled: Tuesday, June 24, 2014 from 11:00 – 11:45am in B204

Excerpt

The build's red with a test failure. You re-run the tests and suddenly all is well. What's going on?

Description

The build’s red with a test failure. You re-run the tests and suddenly all is well. What’s going on?

While Ruby makes it easy to start testing your code, it’s also easy to write tests that fail in subtle, unexpected ways. Luckily, flaky tests share common causes, and there are ways to flush them out.

From order dependencies to static state, time comparisons to threading bugs, we’ll see what’s making your test suite unstable and how to get it rock solid again.

Tags

Ruby, testing

Speaking experience

This talk has not been given previously.

I've spoken at several Ruby conferences over the past year including Mt. West Ruby, RubyConf, CodeMash, and Ruby on Ales.

Slides from prior talks are available at https://speakerdeck.com/jasonrclark
Videos at http://confreaks.com/presenters/1621-jason-clark

Speaker