(Just for the record - NMock does support mocking
classes)
Jim
Jim: Oops! My bad, you're right.
Jim: There is a big difference between the classes that
nMock can mock and TypeMock can mock.
First nMock can mock only virtual methods, TypeMock can
mock all methods.
Second is the nMock will return a mock object that has
to be passed to the tested method. TypeMock will mock a
future class that is instantiated somewhere in the call
hierarchy of your tested method.
Hi Piotr,
We are using TypeMock extensivly and we found no problem
at all debugging the code, Using TestDriven.NET and
TypeMock. If you can send an example of when this
happens, I would like to know.