Java Mailing List Archive

http://www.gg3721.com/

Home » user.jmock »

Re: [jmock-user] JMock help

Julian Hall

2010-03-23

Replies: Find Java Web Hosting

Author LoginPost Reply

> Please tell me what all i need to add.I wrote the code based on my little
> understanding.Also assume the mock constructor params as interfaces.the test
> runs successfully but i dont think i am doing what i want.
>
> thanks
> Sree
>  
Have you tried breaking the code you're testing and checking that the
tests now fail? This is a good way of verifying that tests are really
testing what you expect.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.