Click here to Skip to main content
15,924,402 members
Home / Discussions / C#
   

C#

 
QuestionMocks... I don't get it. Pin
martin_hughes22-May-08 11:25
martin_hughes22-May-08 11:25 
AnswerRe: Mocks... I don't get it. Pin
#realJSOP22-May-08 11:33
professional#realJSOP22-May-08 11:33 
GeneralRe: Mocks... I don't get it. Pin
martin_hughes22-May-08 11:45
martin_hughes22-May-08 11:45 
AnswerRe: Mocks... I don't get it. Pin
Spacix One22-May-08 11:41
Spacix One22-May-08 11:41 
GeneralRe: Mocks... I don't get it. Pin
Pete O'Hanlon22-May-08 11:47
mvePete O'Hanlon22-May-08 11:47 
GeneralRe: Mocks... I don't get it. Pin
Spacix One22-May-08 11:57
Spacix One22-May-08 11:57 
AnswerRe: Mocks... I don't get it. Pin
Pete O'Hanlon22-May-08 11:43
mvePete O'Hanlon22-May-08 11:43 
GeneralRe: Mocks... I don't get it. Pin
martin_hughes22-May-08 11:59
martin_hughes22-May-08 11:59 
Yeahhhhh........ but.

Wouldn't you come across a situation where you have a big old object which is a black box for a whole bunch of other stuff, this thing is great, works brilliantly and you can rely on the results. In a testing environment you want the ability to say ok, I have this super-dooper object, given input x I know it will return y, but I don't want to instantiate it for testing purposes (maybe it really goes and affects a database or contacts a webservice or something) I just want to say here's a simulation (or mock) of that object and use that to test/create new functionality in my app?
GeneralRe: Mocks... I don't get it. Pin
Pete O'Hanlon22-May-08 22:31
mvePete O'Hanlon22-May-08 22:31 
GeneralRe: Mocks... I don't get it. Pin
martin_hughes22-May-08 23:23
martin_hughes22-May-08 23:23 
AnswerOT Pin
Vikram A Punathambekar22-May-08 19:13
Vikram A Punathambekar22-May-08 19:13 
AnswerRe: Mocks... I don't get it. [modified] Pin
Roger Alsing23-May-08 0:36
Roger Alsing23-May-08 0:36 
GeneralRe: Mocks... I don't get it. Pin
martin_hughes23-May-08 0:48
martin_hughes23-May-08 0:48 
Questionhow to add blank line Pin
netJP12L22-May-08 11:24
netJP12L22-May-08 11:24 
AnswerRe: how to add blank line Pin
#realJSOP22-May-08 11:34
professional#realJSOP22-May-08 11:34 
AnswerRe: how to add blank line Pin
Anthony Mushrow22-May-08 11:37
professionalAnthony Mushrow22-May-08 11:37 
AnswerRe: how to add blank line Pin
Pete O'Hanlon22-May-08 11:38
mvePete O'Hanlon22-May-08 11:38 
GeneralRe: how to add blank line Pin
netJP12L22-May-08 11:59
netJP12L22-May-08 11:59 
GeneralRe: how to add blank line Pin
Pete O'Hanlon22-May-08 22:28
mvePete O'Hanlon22-May-08 22:28 
AnswerRe: how to add blank line Pin
Christian Graus22-May-08 13:41
protectorChristian Graus22-May-08 13:41 
QuestionInhertited set of controls with default implementation Pin
Benny Jaminé22-May-08 11:14
Benny Jaminé22-May-08 11:14 
QuestionProblem with deployment Pin
Shuaib wasif khan22-May-08 8:47
Shuaib wasif khan22-May-08 8:47 
AnswerRe: Problem with deployment [modified] Pin
The Nightcoder22-May-08 10:03
The Nightcoder22-May-08 10:03 
GeneralRe: Problem with deployment Pin
Shuaib wasif khan22-May-08 10:29
Shuaib wasif khan22-May-08 10:29 
GeneralRe: Problem with deployment Pin
The Nightcoder22-May-08 11:09
The Nightcoder22-May-08 11:09 

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.