Oliver Drotbohm 5/17/2009

Unit testing annotation based Spring MVC controllers

Read Original

This technical article explains how to unit test the URL request mappings in annotation-based Spring MVC controllers. It discusses the limitations of the standard Spring testing approach and provides a detailed solution using mocking frameworks (like EasyMock) to isolate and verify URL mappings without executing the full controller method logic.

Unit testing annotation based Spring MVC controllers

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week