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

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -