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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -