nmock2

What are the capabilities of Moq and Rhino.mocks?

*爱你&永不变心* 提交于 2019-11-29 19:12:36
I cannot find a specific feature-by-feature comparison of Moq and Rhino. All the questions are "which do you like better and why", or "here's how you do a simple mock in rhino and how it's done in moq". I cannot find a deep comparison anywhere. I'm aware of the syntax differences, I'm not looking for answers about that. I am looking for a capability comparison . For example: Rhino has Expect.On() for threaded mocking. Can Moq do this? What about Multi-mocking (implementing multiple interfaces with one mock). Can Moq do this? I believe Moq can now mock Protected members. Can Rhino do this? Edit

What are the capabilities of Moq and Rhino.mocks?

让人想犯罪 __ 提交于 2019-11-28 14:36:37
问题 I cannot find a specific feature-by-feature comparison of Moq and Rhino. All the questions are "which do you like better and why", or "here's how you do a simple mock in rhino and how it's done in moq". I cannot find a deep comparison anywhere. I'm aware of the syntax differences, I'm not looking for answers about that. I am looking for a capability comparison . For example: Rhino has Expect.On() for threaded mocking. Can Moq do this? What about Multi-mocking (implementing multiple interfaces