Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider alternatives to Moq #1133

Open
philliphoff opened this issue Aug 10, 2023 · 1 comment
Open

Consider alternatives to Moq #1133

philliphoff opened this issue Aug 10, 2023 · 1 comment

Comments

@philliphoff
Copy link
Collaborator

Recent events related to the Moq .NET test mock library have exposed potential privacy concerns. While versions of the library related to those concerns have been delisted from NuGet, to eliminate any exposure to those concerns in the future, alternatives should be considered (e.g. NSubstitute).

For example, here is a branch with the required to move to NSubstitute.

@jhurdlow
Copy link

I think the simpler thing would be for Microsoft to take a lead on this by forking Moq (call it FreeMoq or whatever) and move to that. Some random person doing that might not gain traction, but I believe people would happily all switch over if MS did it. We leave Moq in the dust and no one has to change their code. Just switch dependencies and be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants