mockito

  • submit to reddit

Using JUnit Theories with Spring and Mockito

What is a Theory? Functionally, a theory is an alternative to JUnit's parameterized tests. Semantically, a theory encapsulates the tester's understanding of...

1 replies - 1688 views - 12/11/12 by Lucas Godoy in Articles

Automatically Inject Mocks into Spring Context

When bringing up a Spring context for testing, sometimes following all the dependencies can be a never ending path of bean definitions. In most cases, mocking...

2 replies - 8191 views - 02/03/11 by Justin Ryan in Tips and Tricks

DZone Daily Dose - 2009/11/5

The EU could issue a formal objection to the Oracle-Sun deal within the next few days according to a Financial Times report.  Just a few weeks ago, the EU's...

1 replies - 10988 views - 11/05/09 by Mitch Pronschinske in News

Mockito 1.8 - New Useful Features

Mockito expands its impressive feature set with release 1.8.I was once a happy EasyMock user. If asked, I think I would have even questioned the need for a new...

1 replies - 10606 views - 11/03/09 by Barry Fitzgerald in Articles

Unit Testing with Spring, Guice, JMock, Easymock, Mockito...

When you write unit tests, as the project grows to end up by using many technologies such as Jmock (or another mock framework like Mockito), DbUnit, Selenium,...

0 replies - 11491 views - 02/04/09 by Mathieu Carbou in Announcements