|
-
Jun 26th, 2003, 04:17 PM
#1
Thread Starter
Fanatic Member
Unit Testing?
Anyone do any kind of Unit Testing (testing eah function thoroughly). What is your approach, and is there any specific tools to aid in this for .NET.
Currently, I just write a Test Application, include my DLL as a reference, and then start develop cheezy forms that tests the functionality of the DLL. But I want to test more specifically and finite.
-
Jun 26th, 2003, 06:22 PM
#2
Fanatic Member
testing pah!!! who needs that!!!!!!??????
-
Jun 26th, 2003, 06:37 PM
#3
Fanatic Member
i apologise i have been drinkin!
-
Jun 27th, 2003, 06:41 AM
#4
Thread Starter
Fanatic Member
LOL
I know alot of developers don't like to do testing, and there is usually a QA group that does that for them, but not in my case
-
Jun 27th, 2003, 09:27 AM
#5
Fanatic Member
when i have to do testing it involves me using values and data that i already know work! That way i don't find any bugs or have to fix anything!
All great until it gets realeased to the users! Then all hell breaks lose!
-
Jun 27th, 2003, 03:03 PM
#6
Addicted Member
try NUnit http://sourceforge.net/projects/nunit . Never used it, but its based on JUnit (which i have...a little!). It's pretty handy.
I am hoping to run my latest project through NUnit ( a learning exercise ) when it's done before passing to the QA Team for formal testing so let us know how you get on.
Cheers
-
Jul 17th, 2003, 03:59 PM
#7
Fanatic Member
To get a good test pack together, you need to analyse the requirements of the component and based on the requirements come up with input data that:
1) Tests the components correct use
2) Tests the upper and lower limits of the component
3) Tests the component for cases where it should throw back error messages.
4) Test exceptional cases that you know usually cause problems (eg. typing non-numeric data in a numberic field, entering 0 in a field used in a calculation etc.)
At each stage, the outputs should be checked against what you expect back.
It is also helpfull to get someone else to actually do this testing, cause naturally, they don't know what will cause it to crash and therefore go crazy on the keyboard.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|