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

Testing: It's a Horrible Idea

Testing: It's a Horrible Idea

The ruby community likes tests. And that's a good thing. But sometimes rubyists go a bit too far with this. Can there be too much testing? Is that considered harmful?

This presentation goes over the problems of "too much testing", and those of a natural consequence of having too many tests: irrelevant/bad tests. It then moves onwards to a few things I've picked up during the last few years that have helped me in keeping my test suites under control.

Nicolás Sanguinetti

November 09, 2011
Tweet

More Decks by Nicolás Sanguinetti

Other Decks in Programming

Transcript

  1. TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST

    TEST TEST TEST TEST TEST TES TES TEST TEST TE EST
  2. TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST

    TEST TEST TEST TEST TEST TES TES TEST TEST TE EST Quickly Find Regressions
  3. TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST

    TEST TEST TEST TEST TEST TES TES TEST TEST TE EST Repeatable Test Process
  4. TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST

    TEST TEST TEST TEST TEST TES TES TEST TEST TE EST Better OOP Design
  5. TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST

    TEST TEST TEST TEST TEST TES TES TEST TEST TE EST Documentation
  6. TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST

    TEST TEST TEST TEST TEST TES TES TEST TEST TE EST Software Without Errors
  7. TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST

    TEST TEST TEST TEST TEST TES TES TEST TEST TE EST Peace of Mind for You
  8. Resources http://confreaks.net/videos/641-gogaruco2011-fast-rails-tests Fast Rails Tests – Corey Haines http://confreaks.net/videos/659-rubyconf2011-why-you-don-t-get-mock-objects Why

    Don’t You Get Mock Objects – Gregory Moeck http://blog.rubybestpractices.com/posts/gregory/050-issues-18-testing-dogma.html Dirty Little Secrets About Testing – Gregory Brown http://speakerrate.com/talks/8891-testing-it-s-a-horrible-idea Please rate this talk on SpeakerRate! Thanks! http://speakerdeck.com/u/foca/p/testing-its-a-horrible-idea These Slides :)