Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tricky Testing

Tricky Testing

Not all testing is as simple as setup data -> run code -> test results. Sometimes these steps can be tricky.

In this talk I make the argument that this shouldn't stop you from tackling the problem, though it pays off to think about what you would and wouldn't test and why.

Regrettably, the slides are not very useful without the talk. Will put up a link when the video is online.

Andrew Radev

February 07, 2014
Tweet

More Decks by Andrew Radev

Other Decks in Programming

Transcript

  1. How does it work? • Start a `rails s`, read

    its output • Meanwhile, start music, keep pid • When output matches, kill music
  2. Ask questions: • Is it hard? • Is it important?

    • Is it likely to fail? • Is it fun to test?