|
Re: Test-Driven Development
|
Posted: Jan 2, 2003 10:19 AM
|
|
Having examined test-driven development from a number of angles (personal experience, OOPSLA tutorial, Kent Beck's new book) I am excited by its potential when combined with agile methodologies. Essentially, if a process encourages/allows incremental design, test-driven development seems a natural fit.
I happen to work in an environment that is moving towards processes that discount, even dis-allow incremental design and test-driven development. We are focusing our process improvement initiatives around CMM, training developers in PSP (personal software process), inspections (requirements, design, and code), and design-by-contract. We don't have to debate the value of these (although we can) instead, my question is:
If an organization is focusing on requirements up-front, design up-front, and lots of quality/verification steps pre-implementation, how valuable will unit tests be?
It would seem in this CMM/inspection heavy approach, quality design and bug reduction is handled previous to unit testing. It has been suggested that unit tests would have a more limited role - do them when they provide coverage of a particularly tricky or important aspect of the implementation, or when doing so assists with some aspect of the implementation. It seems the value of unit testing is eroded. Anyone out there seem value in unit tests in this type of process?
|
|