Updating Rhino Mocks
06/01/2020
In the .NET Core era, more-and-more existing .NET applications are getting updated to the new technology stack. Using netstandard
libraries the upgrade is relatively simple. On the other hand, using non standard libraries may cause issues. One of the libraries that is not netstandard
is Rhino Mocks. Rhino Mocks is used for mocking test dependency behavior. Unfortunately it is not .NET Core compatible, so using Rhino Mocks in tests is blocker to moving along with the .net core stack.
We can do 2 things to overcome such an issue:
Update Rhino Mocks by making it .NET Core compatible
Move away from Rhino mocks to other mocking libraries
The first point should be an obvious choice, but as it turns out, there are multiple repos for Rhino Mocks, and none of them seems to be the "true" source and none of them seems to be maintained either. That leaves with the second choice.