Spring support for a mock framework? -


i'm new springs , looking support mock framework in springs.i have come across support junit , couldn't find documentation support of mock framework.please provide links.

have considered mockito. have used mockito junit , can use mocked spring beans quite @injectmocks , @mock annotations. have go.

p.s here few links started.

http://lkrnac.net/blog/2014/01/mock-autowired-fields/ 1 uses testng same true junit well.

https://ahlearns.wordpress.com/2012/03/02/spring-3-autowired-unit-tests-with-mockito/


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -