From: Steve F. <st...@m3...> - 2003-07-01 22:58:11
|
chris cottee wrote: > I think there need to be some functional tests for Mock as well as the > mocked unit tests. Functional tests > are (in this case) better at expressing the intent of the code since > they are effectively examples of usage. Agreed. We've talked about writing some fit tests that would apply to both the java and C# versions. I'm beginning to find the current unit tests problematic too. I've been trying to add Chris's idea of just adding some default matches for methods like toString() and it's a right pain (and shouldn't necessarily be visible in the tests). Chris are you implementing all this in 0.09. If so, I'll stop. Also, I suggest you break up your proposed additional unit tests into 4 specific tests, rather than one big one. Steve |