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
Post a Comment