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

There Are No Tests

j3
September 22, 2011

There Are No Tests

The Ruby community is obsessed with testing, supposedly. In my experience about four out of five applications have either zero or completely ineffective test coverage. They often end up as rescue projects.

Have the courage to change it. Whether your own projects or recovering someone else's mess, let's talk strategy:

- You have a people problem
- Starting with metrics
- Refactoring for understanding
- Comment-driven development
- The unit testing foundation
- Bug reports are your best integration tests
- Focusing on value

Rescue projects are popping up everywhere, and a strategic testing approach can save the day.

j3

September 22, 2011
Tweet

More Decks by j3

Other Decks in Technology

Transcript

  1. I’ve rarely seen technical projects go wrong for technical reasons.

    Joe O’Brien EdgeCase “ ” Thursday, September 22, 11
  2. _____________________ As When < user type > < a series

    of actions > _____________________ Thursday, September 22, 11
  3. _____________________ As When then < user type > < a

    series of actions > < expect to see/do something > _____________________ _____________________ Thursday, September 22, 11
  4. _____________________ As When then but < user type > <

    a series of actions > < expect to see/do something > < instead, the bug! > _____________________ _____________________ _____________________ Thursday, September 22, 11
  5. _____________________ As When then but < user type > <

    a series of actions > < expect to see/do something > < instead, the bug! > _____________________ _____________________ _____________________ Thursday, September 22, 11
  6. _____________________ _____________________ _____________________ _____________________ As When then but An Unautheticated

    User I click the login link I expect to see username & pw There’s only a username box Thursday, September 22, 11
  7. Jeff Casimir @j3 be brave Set goals break the cycle

    Do the work fight fires save the day Thursday, September 22, 11