Click here to Skip to main content
11,799,282 members (76,311 online)
Rate this: bad
Please Sign up or sign in to vote.
Hi All,
I Develop MFC applications frequently ,a coding wise my flow goes correct but problem arises when i deal with testing perspective.

That is,
I want to test each and every part of my software coding wise or editor wise.


in coding wise

a below line of code may gives me assertion ,
CStringArray strTest;
Gives me assertion

so is there any tool,methods or a steps to avoid such things.
Posted 28-Sep-11 23:26pm
Richard MacCutchan at 29-Sep-11 6:28am
You could start by not writing meaningless code. Seriously, what are you expecting from the above 3 lines?

1 solution

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

Solution 1

Avoiding what? "Avoiding assertions" and "testing each and every part" of your software are the opposites.


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

  Print Answers RSS
0 OriginalGriff 463
1 CPallini 450
2 Richard MacCutchan 321
3 Maciej Los 255
4 phil.o 244
0 OriginalGriff 2,475
1 Maciej Los 1,860
2 KrunalRohit 1,496
3 CPallini 1,465
4 Richard MacCutchan 1,149

Advertise | Privacy | Mobile
Web01 | 2.8.151002.1 | Last Updated 3 Oct 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