mockito in six easy examples

View: New views
2 Messages — Rating Filter:   Alert me  

mockito in six easy examples

by Gojko Adzic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

if you're using tdd in java and not using mockito, it's time to change
your mock library. I’m fascinated by how easy it is to use, compared to
other things out there both in the Java and .NET world.

Have a look at http://gojko.net/2009/10/23/mockito-in-six-easy-examples/ 
and see for yourself.

--
gojko adzic
http://gojok.net


Re: mockito in six easy examples

by Travis Nichols :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mockito truly is fantastic. Our development team tried other mocking frameworks, even creating mocks by hand. Mockito is far and away the best. You can mock concrete classes not just interfaces and the setup is simple and intuitive. If someone is looking for an easy way to mock classes for testing, they should try mockito.

--- On Fri, 10/23/09, Gojko Adzic <gojko-yahoolist@...> wrote:

From: Gojko Adzic <gojko-yahoolist@...>
Subject: [agile-testing] mockito in six easy examples
To: agile-testing@..., testdrivendevelopment@...
Date: Friday, October 23, 2009, 1:51 PM






 




   
                  if you're using tdd in java and not using mockito, it's time to change

your mock library. I’m fascinated by how easy it is to use, compared to

other things out there both in the Java and .NET world.



Have a look at http://gojko. net/2009/ 10/23/mockito- in-six-easy- examples/

and see for yourself.



--

gojko adzic

http://gojok. net