Mockito for Spring
上QQ阅读APP看书,第一时间看更新

Preface

When I was writing the first draft of this book, I was eager to compare the manuscript with other books on the Spring Framework. Here are the features that distinguish this book from others:

  • This book is not only about the Spring Framework. It also describes the basics of Spring, Spring's test module, Spring's integration testing, JUnit testing, how to mock Spring beans with Mockito, and advanced Spring 4.1 features. I couldn't find any books that cover these topics.
  • This book explains JUnit testing and mocking in the context of Spring.
  • The book covers Spring's test module and Spring integration testing in detail. These are the most difficult parts in the Spring testing world.

I have taken a hands-on approach here by combining theories with examples to explain the topics.