Test-driven design (TDD), is an evolutionary approach to development and programming technique which combines test-first development where you write a test before you write just enough production code to fulfill that test and refactoring. It helps you think through your design before your write the functional code to implement it.
EditBlog Posts
Qualities of a Good Unit Test (Jeremy Miller)
Bad tests are self defeating
It’s All about Assigning Responsibilities (Jeremy Miller)
Jeremy talks about how to design a class structure for easier testability
State vs. Interaction Testing (Jeremy Miller)Dependency Inversion Principle (Jeremy Miller)Responsibilities, Cohesion, and Coupling (Jeremy Miller)Static Methods and Singletons May Be Harmful (Jeremy Miller)Succeed with TDD by designing with TDD (Jeremy Miller)Unit Testing Business Logic without Tripping Over the Database (Jeremy Miller)Haacked on TDD and Jeremy's First Rule of TDD (Jeremy Miller)
The rule: Isolate the ugly stuff. In which Jeremy discusses abstracting hard-to-test code and separating it from the rest of your code.
Jeremy's Second Law of TDD: Push, Don't Pull (Jeremy Miller)Achieve Better Results: Test Small Before Testing Big (Jeremy Miller)
One of the most important lessons for making TDD work for you
How much design before unit testing, and how much design knowledge before TDD? (Jeremy Miller)So How do You Introduce TDD into an Organization or Team? (Jeremy Miller)EditScreencasts
Jean Paul Boodhoo on Test Driven Development Part 1 of 2
Jean Paul Boodhoo on Test Driven Development Part 2 of 2
Applied Test Driven Development For Web Applications - Part 1 (J.P Boodhoo)
Applied Test Driven Development For Web Applications - Feature Request (J.P Boodhoo)
Applied Test Driven Development For Web Applications - Part 3 (J.P Boodhoo)
Test Driven Domain Model (Evan Hoff)
Test Driven Development Screencast 1 (Steve Burman)
Test Driving an Inventory Screen (Ben Scheirman and Chad Myers)
EditBooks
Test Driven Development:By Example (Kent Beck)
Considered the "bible" of TDD this is the first book anyone interested in pursuing TDD should get. Contains a wealth of samples and walkthroughs with deep dives into the various parts of TDD. A must for any developer.
EditTools
XProgramming.com
A fairly complete and updated list of all the xUnit frameworks out there for almost every language available. If you can't find a framework here for your language, one may not exist.
EditLinks and Resources
Wikipedia Entry
Describes an overview of TDD, a brief description of the process (Red, Green, Refactor), and links to more sources on the subject.
Currently rated 3 by 447 people
- Currently 3/5 Stars.
- 1
- 2
- 3
- 4
- 5