Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replacement for Rhino mock

Tags:

rhino-mocks

Is there a comparable and reliable alternative for Rhino Mock library. I am using Rhino now for MVC ASP.NET project, but am considering (just as plan B) to see if there are any other equivalent alternatives.


2 Answers

RhinoMocks is a very good and powerful Dynamic Mock library. Even though I have been using it for years, I recently switched to Moq.

To my knowledge, RhinoMocks can do everything Moq can do, and perhaps more. The reason I switched is because RhinoMocks has so many different ways you can do the same thing.

To avoid confusion (particularly for colleagues new to mocking in general), I decided to switch to Moq because it has a cleaner API.

like image 92
Mark Seemann Avatar answered Mar 20 '26 21:03

Mark Seemann


Moq is a very good alternative

like image 21
AutomatedTester Avatar answered Mar 20 '26 22:03

AutomatedTester