Book Image

Spring MVC Beginner's Guide

By : Amuthan Ganeshan
Book Image

Spring MVC Beginner's Guide

By: Amuthan Ganeshan

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
Index

Summary


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.