Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Mockito for Spring

Posted By: DZ123
Mockito for Spring

Sujoy Acharya, "Mockito for Spring"
English | 2015 | ISBN: 1783983787 | PDF | pages: 178 | 1.4 mb

Learn all you need to know about the Spring Framework and how to unit test your projects with Mockito

About This Book
- Learn about the Spring testing framework, stubbing, mocking, and spying dependencies using the Mockito framework and explore its advanced features
- Create an automated JUnit safety net for building a reliable, maintainable, and testable software
- Step-by-step tutorial stuffed with real-world examples
Who This Book Is For
If you are an application developer with some experience in software testing and want to learn more about testing frameworks, then this technology and book is for you. Mockito for Spring will be perfect as your next step towards becoming a competent software tester with Spring and Mockito.
What You Will Learn

- Uncover the architecture of the Spring testing framework and write integration tests

- Explore test doubles and work with dummy, spy, fake, stub, and mock objects

- Mock Spring container dependencies using Mockito

- Refresh your Spring Framework knowledge

- Learn about the advanced Spring 4 Framework features

- Work with the REST controller to build and unit test RESTful web services

- Cache data with Spring and EhCache

In Detail
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.