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

TDD for the Rest of Us

TDD for the Rest of Us

Test Driven Development (TDD) is a fundamental engineering practice for high-quality and easily adaptable software development. It's use is usually tied to Agile software development, though its origin is actually in a set of principles knows as eXtreme Programming. But what is Test Driven Development? And what makes it such a great tool?

James Hood

March 16, 2012
Tweet

More Decks by James Hood

Other Decks in Programming

Transcript

  1. Write a test Watch it fail Write just enough code

    to make it work Watch it pass Refactor What is Test Driven Development? 4 Friday, March 16, 12
  2. Treat as a Liability work in progress (WIP) rather than

    an asset. “ ” 12 Friday, March 16, 12
  3. Complex Machine outsourced off-shore development no way to get ahold

    of any of the previous team In prod for months... needs some enhancements 18 Friday, March 16, 12
  4. Complex Machine outsourced off-shore development no way to get ahold

    of any of the previous team In prod for months... needs some enhancements 18 Friday, March 16, 12
  5. Not Just for Units! Unit Tests Integration Tests System Tests

    Acceptance Tests 23 Friday, March 16, 12
  6. It’s All About Risk Early Allowing visions to drive direction,

    not dictate detail During Providing quick feedback on the here-and-now Late Leaving an executable declaration of what was built 25 Friday, March 16, 12
  7. Test Driven Development by Example - Beck Video: Test Driven

    Development - Beck Agile Testing - Crispin, Gregory Resources 28 Friday, March 16, 12