I have just published a review of the book “Practical Unit Testing with TestNG and Mockito” written by Tomek Kaczanowski. For a full disclosure, Tomek has written an article about TestNG in the last issue of Methods & Tools and will contribute another article on Mockito in our upcoming Summer issue that will be published in June.
This being said, I was a little curious of what I will be able to grasp and take out of his book as I am not primary a Java programmer. The book has however a large part of its content dedicated to general unit testing topics, including my favorite part about the quality of the unit testing code. Unit test code review for anyone? Tomek does also a good job of not just pushing his own preferences in Java unit testing, but presenting the available choices either for test strategies or for unit testing tools. I liked also the structure of the book and the humor that was distilled in many pages. I would recommend this book to every developer concerned by code quality, especially if you are working in a Java context.
Reference: ” Practical Unit Testing with TestNG and Mockito”, Tomek Kaczanowski, 448 pages, IBSN 978-8393489305
Book Web Site: http://practicalunittesting.com/