Test Driven Dentistry Is A Good Thing

I saw this quote in the footer of an email...

"Test-driven Dentistry (TDD!) - Not everything should be test driven"
- Michael Fogus

I'm no TDD-lover, not by a long shot, but I dismiss the claim that you shouldn't do test driven dentistry.

I think you probably *should* do test driven dentistry.

First write your test:

Setup:
   Put on lead coat.
   Perform X Ray.
   
Test:
   Assert: There are no unfilled cavities.

Teardown:
   Remove lead coat.

And then:

Run the test: it fails.

Fill the cavity.

Run the test: it passes.

The only special nuance of test-driven-dentistry is that you must resist the urge to refactor the mouth, as this would require re-executing your tests, which may cause unnecessary irradiation of the patient. Side effects are an encumbrance but not a show stopper.

 

My book "Choose Your First Product" is available now.

It gives you 4 easy steps to find and validate a humble product idea.

Learn more.

(By the way, I read every comment and often respond.)

Your comment, please?

Your Name
Your Url (optional)
Note: I may edit, reuse or delete your comment. Don't be mean.