Unit Testing of Spring MVC Controllers: Configuration

preview_player
Показать описание
This screencast describes how we can configure our unit tests which uses the Spring MVC Test framework.

If you want to learn how to write unit tests for Spring web applications, check out my Test With Spring Course:

Get the example application:

Original blog post:
Рекомендации по теме
Комментарии
Автор

Thanks! I am happy to hear that I could help you out.

PetriKainulainen
Автор

Nice explanation. I was looking around for a good springmvc unit test tutorial. great work! Thanks

htalukder
Автор

Thank you!

By the way, thanks for pointing out that the link to the original blog post is not enough because it is hard to find the link to the example application.

I added a direct link to the example application.


PetriKainulainen
Автор

Thank you Petri. This is a deep tutorial. Question for you though: any idea why it could not resolve the spring.profiles.active placeholder? I have already opened a question for it at Best wishes

ThirdWorldUSA
Автор

nice tutorial Petri. I am unable to download the application by provided link.

amitpccsful
Автор

could you tell me that what IDE you use for this example, Thanks :)

vuongvu