Spring MVC comes with a very useful test framework, which allows doing in-depth testing without even starting a web container.
It is one of the most useful libraries for writing automated tests for Spring applications. It provides first-class support for writing unit and integration tests to Spring-powered applications including MVC controllers.
There is also a Spring Test DbUnit that integrates the Spring Test framework with DbUnit and a Spring Test MVC HtmlUnit which integrates the Spring Test MVC framework with HtmlUnit.
By using these tools you can easily test your Spring MVC application in an automated way.