in reply to Re^2: Smallish mock objects
in thread Smallish mock objects
Your last comment is very interesting. I'll have a look to state based testing vs interaction based testing, thanks
coming back to the thread, I've always felt that mock objects shine when you *actually* want to be in control:
Maybe I am a paranoid, but I build my systems (even small prototypes) making them fail all over the place. Thinking early about recovery seems to make them better (not really something rational, more like a gut feeling ;)...probably because this over-emphasizes data sources.
hth --stephan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Smallish mock objects
by sgt (Deacon) on Dec 20, 2006 at 11:33 UTC | |
by adrianh (Chancellor) on Dec 23, 2006 at 11:57 UTC | |
by sgt (Deacon) on Dec 23, 2006 at 15:01 UTC |