Mocking using 'traditional' Record/Replay vs Moq model

Posted by fung on Stack Overflow See other posts from Stack Overflow or by fung
Published on 2009-03-16T13:50:06Z Indexed on 2010/05/07 23:38 UTC
Read the original article Hit count: 298

Filed under:
|
|
|

I'm new to mocks and am deciding on a mock framework. The Moq home quotes

Currently, it's the only mocking library that goes against the generalized and somewhat unintuitive (especially for novices) Record/Reply approach from all other frameworks.

Can anyone explain simply what the Record/Replay approach is and how Moq differs? What are the pros and cons of each especially from the point of deciding a framework?

Thanks.

© Stack Overflow or respective owner

Related posts about unit-testing

Related posts about moq