Practical Unit Testing
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.
Should you put comments in your tests code? Yes? No? Why?
My blog was quiet recently and for a good reason. The thing is that am working on a new book. Well, on two books, or maybe rather one and a half book. ;) Ok, here is the story.
Some comments I'd like to share with you after self-publishing my book Practical Unit Testing with TestNG and Mockito.
Recently I've joined a new team and I wanted to persuade my colleagues to migrate from JUnit to TestNG. I decided to prepare a short presentation to convince them. I publish it here hoping that you will find it useful.
I'm happy to announce that my book on unit tests - Practical Unit Testing with TestNG and Mockito - will be available in Q1 2012! Stay tuned!