Click here to Skip to main content
15,898,588 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionTDD, Mocks, and Isolating Legacy Application Components? Pin
Philip Laureano8-Dec-08 21:08
Philip Laureano8-Dec-08 21:08 
AnswerRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
led mike9-Dec-08 4:25
led mike9-Dec-08 4:25 
GeneralRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
Urs Enzler16-Dec-08 8:49
Urs Enzler16-Dec-08 8:49 
AnswerRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
Mark Churchill13-Dec-08 2:35
Mark Churchill13-Dec-08 2:35 
GeneralRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
Philip Laureano13-Dec-08 3:24
Philip Laureano13-Dec-08 3:24 
GeneralRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
Pete O'Hanlon16-Dec-08 10:07
mvePete O'Hanlon16-Dec-08 10:07 
GeneralRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
Philip Laureano16-Dec-08 13:48
Philip Laureano16-Dec-08 13:48 
AnswerRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
Jon Rista6-Jan-09 6:37
Jon Rista6-Jan-09 6:37 
If you need to unit test legacy code, code that isn't particularly designed for mockability (or isn't designed for it at all), there is nothing that comes close to the TypeMock Isolator. TypeMock lets you mock absolutely anything, any time, for any reason, regardless of what it is. You can mock statics, replace function calls, whatever you need to. It allows you to fully isolate your unit of interest and actually perform "unit" testing for any code, regardless of whether it actually supports unit testing.

Many people will jump on this with a vehement revulsion and provide blanket statements that you should refactor all of your code so its better architected and is properly mockable. In the long run, yes, you should eventually improve your code base. But when your on a budget and need that full safety net of tested code, TypeMock is a godsend. You can, basically, have your cake and eat it too. I hope it helps. Smile | :)

http://www.typemock.com/
GeneralRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
Pete O'Hanlon6-Jan-09 8:28
mvePete O'Hanlon6-Jan-09 8:28 
GeneralRe: TDD, Mocks, and Isolating Legacy Application Components? Pin
Jon Rista6-Jan-09 9:11
Jon Rista6-Jan-09 9:11 
QuestionHow this can be done in Atomic way? Pin
paresh_joe8-Dec-08 19:27
paresh_joe8-Dec-08 19:27 
GeneralRe: How this can be done in Atomic way? Pin
led mike9-Dec-08 4:30
led mike9-Dec-08 4:30 
AnswerRe: How this can be done in Atomic way? Pin
CodingYoshi10-Dec-08 3:44
CodingYoshi10-Dec-08 3:44 
GeneralRe: How this can be done in Atomic way? Pin
paresh_joe10-Dec-08 23:36
paresh_joe10-Dec-08 23:36 
GeneralRe: How this can be done in Atomic way? Pin
CodingYoshi11-Dec-08 3:34
CodingYoshi11-Dec-08 3:34 
AnswerRe: How this can be done in Atomic way? Pin
samdevloper8-Mar-09 19:18
samdevloper8-Mar-09 19:18 
GeneralRe: How this can be done in Atomic way? Pin
CodingYoshi11-Mar-09 18:27
CodingYoshi11-Mar-09 18:27 
GeneralRe: How this can be done in Atomic way? Pin
samdevloper5-Mar-09 2:50
samdevloper5-Mar-09 2:50 
AnswerRe: How this can be done in Atomic way? Pin
samdevloper9-Mar-09 2:37
samdevloper9-Mar-09 2:37 
AnswerRe: How this can be done in Atomic way? Pin
samdevloper9-Mar-09 2:38
samdevloper9-Mar-09 2:38 
GeneralRe: How this can be done in Atomic way? Pin
samdevloper5-Mar-09 2:48
samdevloper5-Mar-09 2:48 
QuestionInterprocess communication Pin
carlop()3-Dec-08 22:07
carlop()3-Dec-08 22:07 
AnswerRe: Interprocess communication Pin
Eddy Vluggen16-Dec-08 22:22
professionalEddy Vluggen16-Dec-08 22:22 
QuestionAssertion vs. Exception Pin
CodingYoshi3-Dec-08 11:32
CodingYoshi3-Dec-08 11:32 
AnswerRe: Assertion vs. Exception Pin
Mark Churchill3-Dec-08 14:14
Mark Churchill3-Dec-08 14:14 

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.