Test Data Builders

http://nat.truemesh.com/archives/000714.html

Test Doubles or Test Data Builders?

One of my readers asked a question whether he should rather use test doubles (mocks) or Test Data Builders to create objects (collaborators) for testing purposes. I've decided to write down some thoughts in form of this blog post. I hope it makes things more clear.

 

Testing with Fluent APIs

The more tests I write, the more love I feel towards fluent interfaces :) I hope to write someday soon more about Test Data Builders and FEST assertions, but for now only a short list of useful fluent APIs that can help you write nice(r) tests:

 
Please comment using
 
Syndicate content