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.
'Matt' on Fri, 01 Apr 2011 12:17:21 GMT, sez: hmm
Setup: prepare big drill
Assert: anaesthetic is working
Teardown: fill in insurance claims
yeeeowza!
'ray ban wayfarer sunglasses' on Mon, 18 Jul 2011 03:56:54 GMT, sez: Setup:
Put on lead coat.
Perform X Ray.
Test:
Assert: There are no unfilled cavities.
Teardown:
Remove lead coat.
cant get that
'olive oil equipment' on Wed, 15 Feb 2012 05:09:09 GMT, sez: There are plenty of information about this topic in the net & some are definitely better than others.
|