By reading this book you willgrasp the role and purpose of unit testsgain confidence that your code really workswrite high-quality, readable and maintainable unit testslearn TestNG and Mockito http://practicalunittesting.comavoid common pitfalls when writing unit testsrecognize bad unit tests, and fix them in no timedevelop code following the TDD approachuse mocks, stubs and test-spies intelligentlytest collections, expected exceptions, time-dependentmethods and much moremaster tools and techniques your team members havenever even heard of (priceless!) :)
Some facts about the book:450+ pages of unit testing goodness (300+ in thePDF version) technologies: TestNG, Mockito, FEST FluentAssertions, Unitils, catch-exception, PIT MutationTesting, PowerMock, …contains: http://practicalunittesting.com loads of examples exercises for each chapter best practices, hints, tips, warnings and guidelinesbased on real-life experience and issueswritten with practical issues specifically in mindthis is the first book about Mockito! proofread and corrected by TDD, Mockito andTestNG experts (and a native speaker, of course!)
What is inside? http://practicalunittesting.com
About the authorTomek Kaczanowski is a technical team leader fromKrakow, Poland. He has a strong interest in codequality, testing and automation - preferably all threetogether. Combining technical with soft skills, he alsoventures into the realms of mentoring, teaching,lecturing and article writing, not to mention preachingsermons to the unconverted in the hope of http://practicalunittesting.comredeeming them (or at least their code)! He hatesdoing 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 betterplace. To his disappointment, the world does notseem to care all that much about his efforts.Apart from all this weirdness, he is a pretty normalperson – a husband, father of two, and cat owner.