Saturday, April 23, 2011

Test coverage or specification

Whilst writing up some notes I keep on changing between tests that cover something (as in test coverage) and tests that specify behaviour. It strikes me that these two concepts are orthogonal to one another. The former is an after thought, something that aids regression, the latter a pre-requisite to writing the code.

The funny thing is that I hear about test coverage but we never talk about specification coverage.

No comments: