Click here to Skip to main content
15,861,168 members
Home / Discussions / Application Lifecycle
   

Application Lifecycle

 
QuestionAutomatic deployment PinPopular
Super Lloyd28-Nov-11 14:52
Super Lloyd28-Nov-11 14:52 
AnswerRe: Automatic deployment Pin
JC1727619-Dec-11 6:31
JC1727619-Dec-11 6:31 
GeneralRe: Automatic deployment Pin
Westpalm Roofing17-Jan-12 21:57
Westpalm Roofing17-Jan-12 21:57 
QuestionDependency Management Tool for Component based C# developed code base. Pin
Peter Mulholland27-Sep-11 5:20
Peter Mulholland27-Sep-11 5:20 
QuestionApplication Environments Pin
chriselst17-Aug-11 3:13
chriselst17-Aug-11 3:13 
AnswerRe: Application Environments Pin
jschell17-Aug-11 9:18
jschell17-Aug-11 9:18 
AnswerRe: Application Environments Pin
Peter_in_278017-Aug-11 13:25
professionalPeter_in_278017-Aug-11 13:25 
QuestionDesigning a system test for error handling functions Pin
PaulowniaK2-Jun-11 17:09
PaulowniaK2-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
jschell22-Jul-11 10:18 
QuestionBest method for Testing the UI part of an application that use Windows Forms Pin
NetDefender12-Apr-11 7:19
NetDefender12-Apr-11 7:19 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms PinPopular
Eddy Vluggen12-Apr-11 8:11
professionalEddy 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
Prasanta_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
NetDefender11-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
subeditorPete 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
RobCroll12-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
dianago28-Jun-11 23:15 
QuestionC++ Design Patterns Pin
msr_codeproject28-Oct-10 19:36
msr_codeproject28-Oct-10 19:36 
AnswerRe: C++ Design Patterns Pin
Pete O'Hanlon28-Oct-10 19:43
subeditorPete O'Hanlon28-Oct-10 19:43 
AnswerRe: C++ Design Patterns Pin
ShilpiP7-Nov-10 21:59
ShilpiP7-Nov-10 21:59 
AnswerRe: C++ Design Patterns Pin
Alain Rist8-Nov-10 0:00
Alain Rist8-Nov-10 0:00 
AnswerRe: C++ Design Patterns Pin
yu-jian8-Nov-10 19:01
yu-jian8-Nov-10 19:01 
AnswerRe: C++ Design Patterns Pin
TweakBird15-Nov-10 19:12
TweakBird15-Nov-10 19:12 
QuestionWhat to do in case UI control has been removed from the form? Pin
Tesic Goran4-Oct-10 0:13
professionalTesic 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
professionalEddy 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
professionalTesic 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.