JUnit Mock objects

I was reading folowing lines of code in junit test cases code. and I did not understand clearly.
junit mockery
Mockery
Mock objects etc.
What are they. what do they do. how we use them to mock objcetc. Any resources,sample code,links, highly appreciated. thanks in advance.
LVL 7
gudii9Asked:
Who is Participating?
 
Sathish David Kumar NConnect With a Mentor ArchitectCommented:
>>>>>>>Mock objects

http://www.mockobjects.com/

>>>>>>>junit mockery
reporting error as junit test failer
0
 
Dejan PažinConnect With a Mentor Head of SW DevelopmentCommented:

In short: mock objects are simulated objects that mimic the behavior of real objects in controlled ways

More here: http://en.wikipedia.org/wiki/Mock_object

Get started with jMock (which I guess is what you are using):

http://www.jmock.org/getting-started.html

Other frameworks and libraries:

http://www.junit.org/taxonomy/term/8

Tutorials and longer explanations of technical details and various approaches to mock objects:

http://www.ibm.com/developerworks/library/j-mocktest/index.html
http://www.ibm.com/developerworks/rational/library/oct06/pollice/index.html



0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.