Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,


how to create a test class.pls help me




Regards
sathya
Posted
Comments
[no name] 28-Nov-11 8:16am    
You need to give more details. We are not sitting next to you. Fully explain what your situation is, what you would like to accomplish and what you have already tried and any errors or problems you have encountered.
CPallini 28-Nov-11 8:27am    
It really depends on what you are testing. For instance, if you are testing nuclear bombs then you should really build a concrete, very thick, test class.

1 solution

You may want to try this walktrough: Creating and Running Unit Tests[^] it is part of Verifying Code by Using Unit Tests[^] on MSDN.

Studying the information presented there should give you a pretty good idea of how to do Unit Testing, if indeed that was what you are after anyhow.

Regards,

—MRB
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900