Click here to Skip to main content
14,544,342 members

Collaboration / Beta Testing

 
GeneralTesting Question - Automatic testing tools, regression testing Pin
kfaday4-Aug-05 8:13
Memberkfaday4-Aug-05 8:13 
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 
Hi !

I'm new to unit testing and I need some clarification. I want to test a class. When I create an instance of this class with the default constructor, I need to check 3 values and make sure they are initialised to the correct default values (for instance : a name property).

Do I have to code three tests (one for each value to test) or can I create one test for the default construction of the instance and check, in the same test, the 3 values ?

Hope my question is understandable !

Thanks for your help !
Jerome
GeneralRe: unit_testing : granularity of tests Pin
Roger Wright31-Jul-05 9:28
professionalRoger Wright31-Jul-05 9:28 
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 

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.