TDD top-down….

February 2nd, 2004 by Hen

Robert Zigweid had some comments on my TDD rant, and I like one idea that came out of the conversation. As I create my interface-framework, which is effectively my public-API, the JUnit tests in fact form a contract-test, or API specification.

It possibly means creating NullImpl versions for every interface/abstract class, but it would be a useful milestone. It still wouldn’t be TDD, but it is a reason to unit test while doing top-down.

Comments are closed.