MOCKITO COOKBOOK
| By: | Marcin Grzejszczak |
| Publisher: | Packt Publishing |
| Print ISBN: | 9781783982745 |
| eText ISBN: | 9781783982752 |
| Edition: | 1 |
| Copyright: | 2014 |
| Format: | Reflowable |
Lifetime - $34.79
eBook Features
Instant Access
Purchase and read your book immediately
Read Offline
Access your eTextbook anytime and anywhere
Study Tools
Built-in study tools like highlights and more
Read Aloud
Listen and follow along as Bookshelf reads to you
Details
Table of Contents
Book Description
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.What you will learn
- Create beautiful tests using Mockito
- Create mocks and spies in a number of ways
- Implement best practices to perform tests with Mockito
- Extend Mockito with other popular Javabased unit testing frameworks such as JUnit and PowerMock
- Stub behavior of mocks and spies
- Verify test doubles with Mockito
- Write good tests using Mockito
- Integrate Mockito with DI systems
- Compare Mockito to other mocking frameworks
- Verify the behavior of your system under test