Click here to Skip to main content
11,639,765 members (61,034 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: (untagged)

how to create a test class.pls help me

Posted 28-Nov-11 2:07am
Mark Nischalke at 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 at 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.



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

  Print Answers RSS
0 Suvendu Shekhar Giri 330
1 CPallini 177
2 F-ES Sitecore 170
3 himanshu agarwal 167
4 Sergey Alexandrovich Kryukov 159
0 OriginalGriff 9,081
1 Sergey Alexandrovich Kryukov 8,847
2 Mika Wendelius 7,027
3 Suvendu Shekhar Giri 2,650
4 F-ES Sitecore 2,558

Advertise | Privacy | Mobile
Web01 | 2.8.150731.1 | Last Updated 28 Nov 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100