Click here to Skip to main content
12,356,678 members (61,770 online)

Application Lifecycle

 
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 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 12 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid