Don't Let Your Tests Flake Out*
The build's red with a test failure. You re-run the tests and suddenly all is well. What's going on?
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.
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
I fell in love with programming as a young boy watching my dad work in Clipper and dBase III (no, really). The obsession sparked there continues to this day. I work for New Relic, and in my spare time contribute to the Shoes project. When not at work, I enjoy cycling, homebrewing, and hanging out with my family.
- Title: Extending Gems - Patterns and Anti-Patterns of Pluggable Gems
- Track: Chemistry
- Room: B304
- Time: 11:00 – 11:45am
The Ruby community has a strong tradition of building extensions to popular gems. But simple mistakes can make gems harder to extend than they need to be. Drawing from real-world examples, we’ll examine the patterns of coding, configuration and documentation for maximizing your gem’s flexibility.
- Speakers: Jason Clark