In this final chapter, you learned the importance of testing a web application and saw how to unit test the domain object. Next we learned how to perform integration test on validator using the Spring Test framework. You also saw how to test a normal controller using the Spring Test Context framework. As the last exercise, you saw how to test REST-based controllers and how to use the mock session object from the Spring Test framework. In that exercise, you also learned how to verify the JSON path.
Spring MVC Beginner's Guide
By :
Spring MVC Beginner's Guide
By:
Overview of this book
Table of Contents (19 chapters)
Spring MVC Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Configuring a Spring Development Environment
Spring MVC Architecture – Architecting Your Web Store
Control Your Store with Controllers
Working with Spring Tag Libraries
Working with View Resolver
Intercept Your Store with Interceptor
Validate Your Products with a Validator
Give REST to Your Application with Ajax
Apache Tiles and Spring Web Flow in Action
Testing Your Application
Using the Gradle Build Tool
Pop Quiz Answers
Index
Customer Reviews