Mockito for Spring
By Sujoy Acharya
Publisher: Packt Publishing
Final Release Date: February 2015
Pages: 178

Mockito is a testing framework that creates external dependencies; this process is called mocking. This book will provide you with the skills you need to successfully build and maintain meaningful unit and integration test cases for Spring Framework code. This book starts with a brief introduction to the Spring Framework, including its components and architecture.

Packed with real-world examples, the book covers how to make Spring code testable and mock container and external dependencies using Mockito. You then get a walkthrough of the steps that will help you in applying Spring 4 Framework features and advanced Spring testing module features in the real world. By the end of the book, you will be a competent software tester with Spring and Mockito.

Product Details
Recommended for You
Customer Reviews


by PowerReviews
oreillyMockito for Spring

(based on 1 review)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 1 customer

Displaying review 1

Back to top


Powerpoint in a book

By Marcus

from Germany

About Me Developer

Verified Reviewer


  • Short


  • Not comprehensive enough
  • Too basic

Best Uses

    Comments about oreilly Mockito for Spring:

    Working already with Mockito and JUnit in practice, I was looking for a book to "make things more neat". I was hoping to find new insight in this book, but hardly did.

    The book presents theory of very little Mockito, some JUnit and excessive Spring, but in depth that I would expect from free online tutorials.

    I expected something more pragmatic. It is rather a collection of bullet points and would rather suite as a tutorial published on PPT-slides. Instead of being impressed by the presentation, I constantly asked myself "What problem does it actually solve?".

    Good thing, it is short, so you can easily flip through it and you might get ideas to investigate further in other sources. But certainly not a must-read.

    Displaying review 1

    Back to top

    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook:  $14.99
    Formats:  ePub, Mobi, PDF