Practical Unit Testing with TestNG and Mockito
-
Upload
tomek-kaczanowski -
Category
Technology
-
view
20.864 -
download
2
Transcript of Practical Unit Testing with TestNG and Mockito
http://practicalunittesting.com
http://practicalunittesting.com
By reading this book you will
grasp the role and purpose of unit tests
gain confidence that your code really works
write high-quality, readable and maintainable unit tests
learn TestNG and Mockito
avoid common pitfalls when writing unit tests
recognize bad unit tests, and fix them in no time
develop code following the TDD approach
use mocks, stubs and test-spies intelligently
test collections, expected exceptions, time-dependent methods and much more
master tools and techniques your team members have never even heard of (priceless!) :)
http://practicalunittesting.com
Some facts about the book:
450+ pages of unit testing goodness (300+ in the PDF version)
technologies: TestNG, Mockito, FEST Fluent Assertions, Unitils, catch-exception, PIT Mutation Testing, PowerMock, …
contains:
loads of examples
exercises for each chapter
best practices, hints, tips, warnings and guidelines
based on real-life experience and issues
written with practical issues specifically in mind
this is the first book about Mockito!
proofread and corrected by TDD, Mockito and TestNG experts (and a native speaker, of course!)
http://practicalunittesting.com
What is inside?
http://practicalunittesting.com
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.
About the author
Enjoy the book!
http://practicalunittesting.com