design pattern for unit testing?

Posted by Maddy.Shik on Programmers See other posts from Programmers or by Maddy.Shik
Published on 2010-12-30T11:11:38Z Indexed on 2010/12/30 16:59 UTC
Read the original article Hit count: 335

I am beginner in developing test cases, and want to follow good patterns for developing test cases rather than following some person or company's specific ideas. Some people don't make test cases and just develop the way their senior have done in their projects. I am facing lot problems like object dependencies (when want to test method which persist A object i have to first persist B object since A is child of B).

Please suggest some good books or sites preferably for learning design pattern for unit test cases. Or reference to some good source code or some discussion for Dos and Donts will do wonder. So that i can avoid doing mistakes be learning from experience of others.

© Programmers or respective owner

Related posts about java

Related posts about testing