article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

This excerpt is copyright 2007, 2020, 2021 by James Shore and Shane Warden. Test-driven development, , or TDD, is a rapid cycle of testing, coding, and refactoring. Done well, TDD eliminates an entire class of programming errors. TDD isn’t perfect, of course. TDD is difficult to add to legacy codebases.

article thumbnail

AoAD2 Practice: Fast, Reliable Tests

James Shore

This excerpt is copyright 2007, 2021 by James Shore and Shane Warden. With TDD, you run the tests as often as one or two times every minute. If they don’t, you won’t be able to get feedback within 1-5 seconds, and that’s crucial for the TDD loop to work effectively. If you use TDD correctly, broad tests shouldn’t be needed.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Misconceptions with Test Driven Development

Agile Pain Relief Notes from a Tool User

import Figure from '@/components/global/figure.astro'; import TestXs from 'src/content/blog/misconceptions-with-test-driven-development/images/test-xs.jpg'; In the past few weeks I've heard several misconceptions raised about Test Driven Development: Does TDD really work? TDD isn't useful for helping to design the architecture of programs.

article thumbnail

AoAD2 Practice: Refactoring

James Shore

This excerpt is copyright 2007, 2020, 2021 by James Shore and Shane Warden. To illustrate this point, I’ll continue the example started in “A TDD Example” on p.XX. Perform little refactorings as you use TDD and bigger refactorings as part of your slack. Your feedback is appreciated! Refactoring in Action. See README.md

article thumbnail

Wardley Mapping Mondays – Communication

Cory Foy

December 2007. November 2007. October 2007. September 2007. August 2007. April 2007. March 2007. February 2007. January 2007. August 2008. April 2008. March 2008. February 2008. January 2008. December 2006. November 2006. October 2006. September 2006. August 2006. Presentation.

article thumbnail

AoAD2 Practice: Feature Toggles

James Shore

This excerpt is copyright 2007, 2020, 2021 by James Shore and Shane Warden. TDD isn’t perfect, after all. Visit the Second Edition home page for information about the open development process, additional excerpts, and more. Your feedback is appreciated! To share your thoughts, join the AoAD2 open review mailing list.

article thumbnail

AoAD2 Practice: No Bugs

James Shore

This excerpt is copyright 2007, 2020, 2021 by James Shore and Shane Warden. Although mistakes are inevitable—TDD alone has programmers correcting mistakes every few minutes—most of them are short-lived. Visit the Second Edition home page for information about the open development process, additional excerpts, and more.