views:

413

answers:

1

I would assume that the more dynamic nature of .NET 4 would improve the possibility of mocking. (but I may be wrong)

Are there mocking frameworks that take advantage of .NET 4? If yes, which does it best?

Conversely, are there mocking frameworks that do not even run on .NET 4?

+3  A: 

I don't think any framework does this now.

If I had to guess, I'd vote for Moq. Daniel Cazzulino was first to take advantage of the new linq language features in a mocking framework. I don't see any updates specifically mentioning the dynamic keyword, but I bet he's thinking about it at this very moment....

Will