关注 过往记忆大数据 微信公众号，回复 4136 获取本书下载地址。
子标题：An advanced guide to mastering unit testing using Mockito and JUnit
It is insanity to keep doing things the same way and expect them to improve. Any program is useful only when it is functional; hence, before applying complex tools, patterns, or APIs to your production code, checking software functionality is must. Automated JUnit tests help you verify your assumptions continuously, detect side effects quickly, and also help you save time.
This book will provide the skills you need to successfully build and maintain meaningful JUnit test cases. You will begin with how to use advanced JUnit 4 features, improve code coverage, automate JUnit tests, monitor code quality, write JUnit tests for the database and web tier refactor legacy code, mock external dependencies using Mockito, and write testable code using test-driven development. By sequentially working through the steps in each chapter, you will quickly master the advanced JUnit features.
关注 过往记忆大数据 微信公众号，回复 4136 获取本书下载地址。如图书无法下载，请加微信 fangzhen0219 反馈。