
上QQ阅读APP看书,第一时间看更新
Chapter 1. Getting Started with Mockito
In this chapter, we will cover the following recipes:
- Adding Mockito to a project's classpath
- Getting started with Mockito for JUnit
- Getting started with Mockito for TestNG
- Mockito best practices - test behavior, not implementation
- Adding Mockito hints to exception messages in JUnit (Experimental)
- Adding additional Mockito warnings to your tests in JUnit (Experimental)