Click here to Skip to main content
11,638,173 members (72,761 online)

Application Lifecycle

 
AnswerRe: Codename Needed Pin
S. Becker4-Oct-12 1:52
memberS. Becker4-Oct-12 1:52 
QuestionFont licensing confusion Pin
cjhazard25-Feb-12 8:43
membercjhazard25-Feb-12 8:43 
AnswerRe: Font licensing confusion Pin
Shameel27-Feb-12 3:39
memberShameel27-Feb-12 3:39 
GeneralRe: Font licensing confusion Pin
cjhazard27-Feb-12 22:01
membercjhazard27-Feb-12 22:01 
Questiontragamonedas Pin
tonyzeta2013-Jan-12 3:36
membertonyzeta2013-Jan-12 3:36 
AnswerRe: tragamonedas Pin
jung-kreidler7-Feb-12 22:39
memberjung-kreidler7-Feb-12 22:39 
QuestionAutomatic deployment Pin
Super Lloyd28-Nov-11 14:52
memberSuper Lloyd28-Nov-11 14:52 
AnswerRe: Automatic deployment Pin
JC1727619-Dec-11 6:31
memberJC1727619-Dec-11 6:31 
GeneralRe: Automatic deployment Pin
Westpalm Roofing17-Jan-12 21:57
memberWestpalm Roofing17-Jan-12 21:57 
QuestionDependency Management Tool for Component based C# developed code base. Pin
Peter Mulholland27-Sep-11 5:20
memberPeter Mulholland27-Sep-11 5:20 
QuestionApplication Environments Pin
ChrisElston17-Aug-11 3:13
memberChrisElston17-Aug-11 3:13 
AnswerRe: Application Environments Pin
jschell17-Aug-11 9:18
memberjschell17-Aug-11 9:18 
AnswerRe: Application Environments Pin
Peter_in_278017-Aug-11 13:25
memberPeter_in_278017-Aug-11 13:25 
QuestionDesigning a system test for error handling functions Pin
PaulowniaK2-Jun-11 17:09
memberPaulowniaK2-Jun-11 17:09 
I'm not even sure if I can ask this question properly (shows how unclear I am about it myself).

So I developed a small part of a rather complex software. I am to run a system test on this software (the whole thing) to test its error handling procedures.

But it's not going so smoothly.

It's alright for those errors that I can actually cause (e.g. run the software without some essential hardware).

But of course I can't generate errors such as "Hardware broken" or "Hardware is connected but not responding" as there is a chance of actually doing harm to the hardware.

So I need a cheat.

Putting break points in the software and overwriting values is not an option because this is a system test.

So I duplicated a small part of my software and put some error testing mechanism in the second copy (let's call it the tester version). The software launches with one or the other of these versions depending on the registry value I set.

The problem is that I've limited the duplicated portion of the code, which I thought and still think is a good idea, but this means that the dummy errors can only be emitted from one place.

In reality there are many paths errors can take. Depending on the path, the final output to the user can be different.

I want to map the various error paths to help decide how best to generate the dummy errors.

It appears I need to do something like: "Generate error A as if function B caused it" and "Generate error A as if function C caused it" etc

So I need a mapping from error A to functions B and C, and so on.

Is there a clever way of doing this?

Or maybe a better question would be, what is the best way to run a system test on error handling functions?

Thanks for any input.
Almost, but not quite, entirely unlike... me...

AnswerRe: Designing a system test for error handling functions Pin
jschell22-Jul-11 10:18
memberjschell22-Jul-11 10:18 
QuestionBest method for Testing the UI part of an application that use Windows Forms Pin
NetDefender12-Apr-11 7:19
memberNetDefender12-Apr-11 7:19 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms Pin
Eddy Vluggen12-Apr-11 8:11
memberEddy Vluggen12-Apr-11 8:11 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms Pin
Prasanta_Prince11-May-11 1:08
memberPrasanta_Prince11-May-11 1:08 
GeneralRe: Best method for Testing the UI part of an application that use Windows Forms Pin
NetDefender11-May-11 7:00
memberNetDefender11-May-11 7:00 
GeneralRe: Best method for Testing the UI part of an application that use Windows Forms Pin
Pete O'Hanlon11-May-11 7:09
mvpPete O'Hanlon11-May-11 7:09 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms [modified] Pin
RobCroll12-May-11 3:49
memberRobCroll12-May-11 3:49 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms Pin
dianago28-Jun-11 23:15
groupdianago28-Jun-11 23:15 
QuestionC++ Design Patterns Pin
msr_codeproject28-Oct-10 19:36
membermsr_codeproject28-Oct-10 19:36 
AnswerRe: C++ Design Patterns Pin
Pete O'Hanlon28-Oct-10 19:43
mvpPete O'Hanlon28-Oct-10 19:43 
AnswerRe: C++ Design Patterns Pin
Shilpi Boosar7-Nov-10 21:59
memberShilpi Boosar7-Nov-10 21:59 
AnswerRe: C++ Design Patterns Pin
Alain Rist8-Nov-10 0:00
memberAlain Rist8-Nov-10 0:00 
AnswerRe: C++ Design Patterns Pin
yu-jian8-Nov-10 19:01
groupyu-jian8-Nov-10 19:01 
AnswerRe: C++ Design Patterns Pin
Eswa15-Nov-10 19:12
memberEswa15-Nov-10 19:12 
QuestionWhat to do in case UI control has been removed from the form? Pin
Tesic Goran4-Oct-10 0:13
memberTesic Goran4-Oct-10 0:13 
AnswerRe: What to do in case UI control has been removed from the form? Pin
Eddy Vluggen17-Nov-10 8:02
mvpEddy Vluggen17-Nov-10 8:02 
GeneralRe: What to do in case UI control has been removed from the form? Pin
Tesic Goran17-Nov-10 19:57
memberTesic Goran17-Nov-10 19:57 
QuestionI Can't Believe That No One Is Interested In This Forum! Pin
Roger Wright2-Aug-10 18:48
memberRoger Wright2-Aug-10 18:48 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
Richard MacCutchan2-Aug-10 22:15
mvpRichard MacCutchan2-Aug-10 22:15 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
KunalChowdhury8-Sep-10 2:27
mentorKunalChowdhury8-Sep-10 2:27 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
yu-jian10-Nov-10 20:45
groupyu-jian10-Nov-10 20:45 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
Eswa15-Nov-10 19:14
memberEswa15-Nov-10 19:14 
AnswerRe: I Can't Believe That No One Is Interested In This Forum! Pin
Prasanta_Prince11-May-11 1:09
memberPrasanta_Prince11-May-11 1:09 
Questionproject Pin
abhay_korat1-Aug-10 3:29
memberabhay_korat1-Aug-10 3:29 
AnswerRe: project Pin
Ray Cassick2-Aug-10 13:03
memberRay Cassick2-Aug-10 13:03 
QuestionCOOL! I get to be the first! Pin
Ray Cassick27-Jul-10 15:44
memberRay Cassick27-Jul-10 15:44 
AnswerRe: COOL! I get to be the first! Pin
Ray Cassick30-Jul-10 16:29
memberRay Cassick30-Jul-10 16:29 
GeneralRe: COOL! I get to be the first! Pin
Pete O'Hanlon30-Jul-10 22:41
mvpPete O'Hanlon30-Jul-10 22:41 
GeneralRe: COOL! I get to be the first! Pin
_Damian S_2-Aug-10 20:14
member_Damian S_2-Aug-10 20:14 
GeneralRe: COOL! I get to be the first! Pin
Pete O'Hanlon2-Aug-10 21:38
mvpPete O'Hanlon2-Aug-10 21:38 
AnswerRe: COOL! I get to be the first! Pin
Pete O'Hanlon3-Aug-10 9:07
mvpPete O'Hanlon3-Aug-10 9:07 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150728.1 | Last Updated 9 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid