i am required to use mockito to create unit testing framework for existing code. I am unable to find a good place to get started with learning Mockito. Could you please point me to a good learning resource for mockito? (online resource or otherwise)
+2
A:
This is a good basic introduction:
http://tutorial.fyicenter.com/out.php?ID=3966
This tutorial is a bit more in-depth:
http://schuchert.wikispaces.com/Mockito.LoginServiceExample
Is there anything in particular you want to learn about?
Rich Seller
2009-09-10 11:54:32
+3
A:
In the "Help me to start" thread on the mockito discussion group on Google, Szczepan Faber, the project owner of mockito, suggests:
- the Documentation which includes some examples
- Brett L. Schuchert's tutorial
I'd take a look at the posts in the mockito category of Szczepan's blog too.
Pascal Thivent
2009-09-10 12:16:55
The javadoc included with the source is pretty much all I needed to get a basic grasp of how to use it. +1
Grundlefleck
2009-09-10 12:19:53