Implementing JUnit test cases in Spring Application -


i have initialized spring application using abstractannotationconfigdispatcherservletinitializer , being deployed war.

it not spring boot application.

i have create test cases controller classes, keep getting nosuchbeandefinition exception, autowired beans not available.

please guide me through 1 example on how implement mockmvc test functions.

all other examples spring boot only.


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -