Click here to Skip to main content

Application Lifecycle

 
QuestionAutomatic deployment PinmemberSuper Lloyd28-Nov-11 14:52 
AnswerRe: Automatic deployment PinmemberJC1727619-Dec-11 6:31 
GeneralRe: Automatic deployment PinmemberWestpalm Roofing17-Jan-12 21:57 
QuestionDependency Management Tool for Component based C# developed code base. PinmemberPeter Mulholland27-Sep-11 5:20 
QuestionApplication Environments PinmemberChrisElston17-Aug-11 3:13 
AnswerRe: Application Environments Pinmemberjschell17-Aug-11 9:18 
AnswerRe: Application Environments PinmemberPeter_in_278017-Aug-11 13:25 
QuestionDesigning a system test for error handling functions PinmemberPaulowniaK2-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 Pinmemberjschell22-Jul-11 10:18 
QuestionBest method for Testing the UI part of an application that use Windows Forms PinmemberNetDefender12-Apr-11 7:19 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms PinmemberEddy Vluggen12-Apr-11 8:11 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms PinmemberPrasanta_Prince11-May-11 1:08 
GeneralRe: Best method for Testing the UI part of an application that use Windows Forms PinmemberNetDefender11-May-11 7:00 
GeneralRe: Best method for Testing the UI part of an application that use Windows Forms PinmvpPete O'Hanlon11-May-11 7:09 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms [modified] PinmemberRobCroll12-May-11 3:49 
AnswerRe: Best method for Testing the UI part of an application that use Windows Forms Pingroupdianago28-Jun-11 23:15 
QuestionC++ Design Patterns Pinmembermsr_codeproject28-Oct-10 19:36 
AnswerRe: C++ Design Patterns PinmvpPete O'Hanlon28-Oct-10 19:43 
AnswerRe: C++ Design Patterns PinmemberShilpi Boosar7-Nov-10 21:59 
AnswerRe: C++ Design Patterns PinmemberAlain Rist8-Nov-10 0:00 
AnswerRe: C++ Design Patterns Pingroupyu-jian8-Nov-10 19:01 
AnswerRe: C++ Design Patterns PinmemberEswa15-Nov-10 19:12 
QuestionWhat to do in case UI control has been removed from the form? PinmemberTesic Goran4-Oct-10 0:13 
AnswerRe: What to do in case UI control has been removed from the form? PinmvpEddy Vluggen17-Nov-10 8:02 
GeneralRe: What to do in case UI control has been removed from the form? PinmemberTesic Goran17-Nov-10 19:57 

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
Web02 | 2.8.140421.2 | Last Updated 26 Mar 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid