<$BlogRSDUrl$>

Sunday, July 18, 2010

Code Contracts to autogenerate test cases 

Jörg W Mittag
If you want to know what Bertrand Meyer, the inventor of Design by Contract, thinks about combining TDD and DbC, there is a nice paper by his group, called Contract-Driven Design = Test-Driven Development - Writing Test Cases. The basic premise is that contracts provide an abstract representation of all possible cases, whereas test cases only test specific cases. Therefore, a suitable test harness can be automatically generated from the contracts.

Topics: TDD | CodeContracts


Comments: Post a Comment

This page is powered by Blogger. Isn't yours?