Click here to Skip to main content
15,887,214 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionPost-hoc unit testing, and increasing the unit test coverage rate? Pin
Philip Laureano5-Jun-08 13:51
Philip Laureano5-Jun-08 13:51 
AnswerRe: Post-hoc unit testing, and increasing the unit test coverage rate? Pin
led mike6-Jun-08 4:34
led mike6-Jun-08 4:34 
RantRe: Post-hoc unit testing, and increasing the unit test coverage rate? Pin
Philip Laureano6-Jun-08 5:03
Philip Laureano6-Jun-08 5:03 
GeneralRe: Post-hoc unit testing, and increasing the unit test coverage rate? Pin
Pete O'Hanlon6-Jun-08 8:25
mvePete O'Hanlon6-Jun-08 8:25 
GeneralRe: Post-hoc unit testing, and increasing the unit test coverage rate? Pin
Roger Alsing8-Jun-08 22:34
Roger Alsing8-Jun-08 22:34 
QuestionArchitecture vs TDD Pin
Nathan Gloyn5-Jun-08 9:58
Nathan Gloyn5-Jun-08 9:58 
GeneralRe: Architecture vs TDD Pin
stavinski6-Jun-08 10:37
stavinski6-Jun-08 10:37 
GeneralRe: Architecture vs TDD Pin
Nathan Gloyn8-Jun-08 8:54
Nathan Gloyn8-Jun-08 8:54 
The issue I'm having is that I am unable to use the testing technology that is available to enable me to adequately test the system by isolating each layer.

To be forced to have to use interfaces where there really is no need has a 'smell' to it.

The system wasn't Test Driven Design, it was designed using normal OOP techniques and it is only trying to use Test Driven Development techniques that I have run into problems.

I have found one solution and that is TypeMock which will happily mock a class that has an abstract base class the only downside being the cost.

Having spent a fair amount of time looking at Mock 'products' it seems to me that for the most part you end up having to sacrifice legitimate design choices or alter code so that it can cause performance penalities (such as marking methods/properties as virtual) in order to be able to test.

I haven't come up with any answers and am more than happy to hear other peoples opinions about this.
GeneralRe: Architecture vs TDD Pin
Pete O'Hanlon8-Jun-08 8:58
mvePete O'Hanlon8-Jun-08 8:58 
GeneralRe: Architecture vs TDD Pin
Nathan Gloyn8-Jun-08 9:33
Nathan Gloyn8-Jun-08 9:33 
GeneralRe: Architecture vs TDD Pin
Pete O'Hanlon8-Jun-08 10:16
mvePete O'Hanlon8-Jun-08 10:16 
AnswerRe: Architecture vs TDD Pin
Roger Alsing8-Jun-08 22:22
Roger Alsing8-Jun-08 22:22 
GeneralRe: Architecture vs TDD Pin
Nathan Gloyn9-Jun-08 0:37
Nathan Gloyn9-Jun-08 0:37 
GeneralRe: Architecture vs TDD [modified] Pin
Roger Alsing9-Jun-08 1:46
Roger Alsing9-Jun-08 1:46 
Questionmember function or not? Pin
followait1-Jun-08 22:38
followait1-Jun-08 22:38 
AnswerRe: member function or not? Pin
Cedric Moonen4-Jun-08 22:34
Cedric Moonen4-Jun-08 22:34 
GeneralRe: member function or not? Pin
followait5-Jun-08 18:49
followait5-Jun-08 18:49 
GeneralRe: member function or not? Pin
Cedric Moonen5-Jun-08 20:02
Cedric Moonen5-Jun-08 20:02 
GeneralRe: member function or not? Pin
followait6-Jun-08 3:31
followait6-Jun-08 3:31 
GeneralRe: member function or not? Pin
Cedric Moonen6-Jun-08 4:23
Cedric Moonen6-Jun-08 4:23 
GeneralRe: member function or not? Pin
Member 276708410-Jun-08 3:34
Member 276708410-Jun-08 3:34 
QuestionAuto Complete Extender Pin
wantToLearn1-Jun-08 13:56
wantToLearn1-Jun-08 13:56 
AnswerRe: Auto Complete Extender Pin
Pete O'Hanlon1-Jun-08 21:56
mvePete O'Hanlon1-Jun-08 21:56 
QuestionManaging of Tab order in a Smart client application Pin
bluemoon200829-May-08 20:10
bluemoon200829-May-08 20:10 
AnswerRe: Managing of Tab order in a Smart client application Pin
led mike30-May-08 4:24
led mike30-May-08 4:24 

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.