Click here to Skip to main content
12,948,567 members (61,814 online)
Rate this:
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 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
Top Experts
Last 24hrsThis month
OriginalGriff 5,419
CHill60 3,275
Maciej Los 2,778
Jochen Arndt 1,935
ppolymorphe 1,795

Advertise | Privacy | Mobile
Web01 | 2.8.170524.1 | Last Updated 3 Oct 2011
Copyright © CodeProject, 1999-2017
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