
MOCKITO COOKBOOK
By :

MOCKITO COOKBOOK
By:
Overview of this book
This is a focused guide with lots of practical recipes with presentations of business issues and presentation of the whole test of the system. This book shows the use of Mockito's popular unit testing frameworks such as JUnit, PowerMock, TestNG, and so on.
If you are a software developer with no testing experience (especially with Mockito) and you want to start using Mockito in the most efficient way then this book is for you. This book assumes that you have a good knowledge level and understanding of Java-based unit testing frameworks.
Table of Contents (12 chapters)
Preface
1. Getting Started with Mockito
2. Creating Mocks
3. Creating Spies and Partial Mocks
4. Stubbing Behavior of Mocks
5. Stubbing Behavior of Spies
6. Verifying Test Doubles
7. Verifying Behavior with Object Matchers
8. Refactoring with Mockito
9. Integration Testing with Mockito and DI Frameworks
10. Mocking Libraries Comparison
Index
How would like to rate this book
Customer Reviews