Patrick Reagan 4.02
Testing has traditionally been perceived as a means for finding bugs in software. More recently, the discussions surrounding testing have been about more than just finding and fixing defects. Instead, the focus has been placed on the other benefits that testing practices, specifically Test Driven Development, provide for developers and development projects. Among these are instantaneous feedback on design decisions, the ability to refactor with confidence, and the promotion of collective code ownership.
In the first part of this session, we will explore these benefits and the pitfalls that developers may encounter when learning to test first. For the second part, I will demonstrate my approach to testing in Ruby by building a small library using TDD.