Click here to Skip to main content
15,881,089 members
Home / Discussions / Collaboration / Beta Testing
   

Collaboration / Beta Testing

 
GeneralFSEC XML Library Feedback Thread Pin
Stuart Konen1-Aug-05 8:29
Stuart Konen1-Aug-05 8:29 
Generalunit_testing : granularity of tests Pin
Jerome Conus21-Jul-05 23:39
Jerome 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
Jerome Conus1-Aug-05 20:23 
Generalhiglight Pin
stallone19-Jul-05 7:48
stallone19-Jul-05 7:48 
GeneralRe: higlight Pin
stallone19-Jul-05 7:50
stallone19-Jul-05 7:50 
GeneralRe: higlight Pin
stallone19-Jul-05 8:00
stallone19-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
toxcct5-Aug-05 1:39 
Generalad Pin
alejandromcsd15-Jul-05 10:08
alejandromcsd15-Jul-05 10:08 
GeneralRe: ad Pin
Jörgen Sigvardsson15-Jul-05 11:34
Jörgen Sigvardsson15-Jul-05 11:34 
GeneralRe: ad Pin
DavidNohejl15-Jul-05 11:42
DavidNohejl15-Jul-05 11:42 
GeneralRe: ad Pin
Jörgen Sigvardsson15-Jul-05 12:16
Jö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
kaschimer15-Jul-05 14:34 
GeneralRe: ad Pin
Member 9615-Jul-05 15:15
Member 9615-Jul-05 15:15 
GeneralRe: ad Pin
ThatsAlok16-Sep-05 21:12
ThatsAlok16-Sep-05 21:12 
GeneralNew OS and its compiler developing Pin
Alexandrescu6-Jul-05 16:21
Alexandrescu6-Jul-05 16:21 
GeneralRe: New OS and its compiler developing Pin
Toby Opferman13-Jul-05 19:55
Toby Opferman13-Jul-05 19:55 
GeneralRe: New OS and its compiler developing Pin
Alexandrescu14-Jul-05 6:49
Alexandrescu14-Jul-05 6:49 
GeneralRe: New OS and its compiler developing Pin
Toby Opferman14-Jul-05 14:38
Toby Opferman14-Jul-05 14:38 
GeneralRe: New OS and its compiler developing Pin
Alexandrescu14-Jul-05 22:21
Alexandrescu14-Jul-05 22:21 
GeneralRe: New OS and its compiler developing Pin
Toby Opferman15-Jul-05 6:00
Toby Opferman15-Jul-05 6:00 
GeneralFlicker & zoom combined Pin
Pazzuzu29-Jun-05 21:27
Pazzuzu29-Jun-05 21:27 
GeneralUsing Context Free Grammers Pin
fordge19-Jun-05 22:08
fordge19-Jun-05 22:08 

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.