Test Data Builders
Test Doubles or Test Data Builders?
Submitted by Tomek Kaczanowski on Mon, 11/04/2013 - 21:05One 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
Submitted by Tomek Kaczanowski on Wed, 06/26/2013 - 19:21The 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:
- FEST Fluent Assertions Module - for those who prefer
assertThat
overassertEquals
This used to be my blog. I moved to http://tomek.kaczanowscy.pl long time ago.
