From: Steve F. <st...@m3...> - 2003-08-20 01:21:29
|
Sorry. These methods are currently called match[...]. Tony Obermeit wrote: > Hmmm. Now I'm a bit confused. I've checked the methods in the Mock > object and I can't see any setup methods. The idea of a setup method > rather than an expection, or as you put it, just get the thing working > and don't check the calls sounds great for the type of test I want. > > Thanks > >> The short answer is no, because that's the point of what you're testing. >> That said, you can use setup methods, rather than expectation, if you >> just want to get the thing to work and don't want to check the calls. We >> have some ideas about how to make things more flexible in the dynamic >> mock world. > > -- "A LISP programmer knows the value of everything but the cost of nothing. A C programmer knows the cost of everything but the value of nothing." (Todd Proebsting) |