Practical Unit Testing with JUnit and Mockito Paperback – 23 Apr 2013
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
Frequently Bought Together
Customers Who Bought This Item Also Bought
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
About the Author
Tomek Kaczanowski is a technical team leader from Krakow, Poland. He has a strong interest in code quality, testing and automation - preferably all three together. Combining technical with soft skills, he also ventures into the realms of mentoring, teaching, lecturing and article writing, not to mention preaching sermons to the unconverted in the hope of redeeming them (or at least their code)! He hates doing things manually, and is allergic to empty src/test/java directories. Tomek believes that by working with legacy code, and improving it, he can make the world a better place. To his disappointment, the world does not seem to care all that much about his efforts. Apart from all this weirdness, he is a pretty normal person – a husband, father of two, and cat owner.
What Other Items Do Customers Buy After Viewing This Item?
Top Customer Reviews
It is also one of the most readable technical books I have come across. It has the ideal balance of information, examples, exercises and humour.
What's even more impressive (IMO) is that English is Tom(ek)'s second language and credit to his editor making what could be a very dull and dry topic interesting and making me want to "test first".
Look forward to version 2 with a few chapters on testing Android Apps.Excellent.
Practical Unit testing is divided into five primary sections: 'Developer's Tests', 'Writing Test', 'Hints and Discussion', 'Listen and Organise' and 'Make them better'. Section 1, 'Developer's Tests', begins by discussing motivations and the core methodology behind testing in general. Unit testing is then defined and the basic concepts introduced to the reader. Section 2 begins by getting the reader to write their first tests, and introduces key concepts such as assertions and parameterised tests.
Section 2 of the book continues with Chapter 4, which introduces the reader to Test Driven Development (TDD), and IMHO this chapter should be read by all Java developers. The author presents an excellent discussion on when to write tests, the 'rhythm' of TDD and the benefits offered, and also provides concrete examples.Read more ›
Excellent introduction to vanilla Java testing. I was initially scared of approaching testing hearing it was 'hard' but after reading this book I have been converted (Tomek would be pleased) to TDD, in my view an excellent engineering philosophy for Software design.
Hopefully I'll continue working this way and I have to say many thanks to the author.
I knocked one star off for a few typo errors (insignificant though) and the pretty basic intro, it would be great if the book was longer and Tomek went into JUnit and Mockito in a bit more depth.. thankfully (and gratefully) he uses JUnit4!
Most Recent Customer Reviews
Not the greatest book, but I learnt a bit from it. The examples are a little too simple and the code examples are dire compared to some other I.T books I've read.Published 17 months ago by A. Ali