Click here to Skip to main content
14,543,763 members

Collaboration / Beta Testing

 
GeneralRe: Testing Question - Automatic testing tools, regression testing Pin
Hans Dietrich4-Aug-05 14:10
mentorHans Dietrich4-Aug-05 14:10 
GeneralRe: Testing Question - Automatic testing tools, regression testing Pin
kfaday5-Aug-05 5:44
Memberkfaday5-Aug-05 5:44 
GeneralRe: Testing Question - Automatic testing tools, regression testing Pin
Hans Dietrich5-Aug-05 9:09
mentorHans Dietrich5-Aug-05 9:09 
GeneralRe: Testing Question - Automatic testing tools, regression testing Pin
saivenkat19-Aug-05 19:11
Membersaivenkat19-Aug-05 19:11 
GeneralTestHarness Strategy for MObile Plateforma Pin
badal_akr4-Aug-05 4:07
Memberbadal_akr4-Aug-05 4:07 
GeneralFSEC XML Library Feedback Thread Pin
Stuart Konen1-Aug-05 8:29
MemberStuart Konen1-Aug-05 8:29 
Generalunit_testing : granularity of tests Pin
Jerome Conus21-Jul-05 23:39
MemberJerome Conus21-Jul-05 23:39 
GeneralRe: unit_testing : granularity of tests Pin
Roger Wright31-Jul-05 9:28
professionalRoger Wright31-Jul-05 9:28 
There is no good reason to test each value separately. Your "unit" consists of the class itself, I assume, and your unit test should verify the class as a whole. If there is something unique about the way values are accessed, then the test should take that into account. But if they're accessible as a group, go ahead. Your test also should include verification of the methods within the class, and should be structured so that all private methods are utilized during the test. If the class has any dependencies on other classes, make sure that you exercise them thoroughly. Ideally, you should also try testing error conditions; try things you never intended the class to do and check how gracefully it fails. Use out of range values, incorrect variable types, and edge-of-limit values if there are any limit tests required. As a general guide, try to imagine what the dumbest consumer of your class might attempt to do to it, then duplicate that in your test. We used to call that "dummy-proofing" before there was such a thing as formal unit testing, and it worked remarkably well.Big Grin | :-D

"...putting all your eggs in one basket along with your bowling ball and gym clothes only gets you scrambled eggs and an extra laundry day... " - Jeffry J. Brickley
GeneralRe: unit_testing : granularity of tests Pin
Jerome Conus1-Aug-05 20:23
MemberJerome Conus1-Aug-05 20:23 
Generalhiglight Pin
stallone19-Jul-05 7:48
Memberstallone19-Jul-05 7:48 
GeneralRe: higlight Pin
stallone19-Jul-05 7:50
Memberstallone19-Jul-05 7:50 
GeneralRe: higlight Pin
stallone19-Jul-05 8:00
Memberstallone19-Jul-05 8:00 
GeneralRe: higlight Pin
Roger Wright20-Jul-05 14:45
professionalRoger Wright20-Jul-05 14:45 
GeneralRe: higlight Pin
toxcct5-Aug-05 1:39
Membertoxcct5-Aug-05 1:39 
Generalad Pin
alejandromcsd15-Jul-05 10:08
Memberalejandromcsd15-Jul-05 10:08 
GeneralRe: ad Pin
Jörgen Sigvardsson15-Jul-05 11:34
MemberJörgen Sigvardsson15-Jul-05 11:34 
GeneralRe: ad Pin
DavidNohejl15-Jul-05 11:42
MemberDavidNohejl15-Jul-05 11:42 
GeneralRe: ad Pin
Jörgen Sigvardsson15-Jul-05 12:16
MemberJörgen Sigvardsson15-Jul-05 12:16 
GeneralRe: ad Pin
Roger Wright15-Jul-05 14:25
professionalRoger Wright15-Jul-05 14:25 
GeneralRe: ad Pin
kaschimer15-Jul-05 14:34
Memberkaschimer15-Jul-05 14:34 
GeneralRe: ad Pin
Member 9615-Jul-05 15:15
MemberMember 9615-Jul-05 15:15 
GeneralRe: ad Pin
ThatsAlok16-Sep-05 21:12
MemberThatsAlok16-Sep-05 21:12 
GeneralNew OS and its compiler developing Pin
Alexandrescu6-Jul-05 16:21
MemberAlexandrescu6-Jul-05 16:21 
GeneralRe: New OS and its compiler developing Pin
Toby Opferman13-Jul-05 19:55
MemberToby Opferman13-Jul-05 19:55 
GeneralRe: New OS and its compiler developing Pin
Alexandrescu14-Jul-05 6:49
MemberAlexandrescu14-Jul-05 6:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.