Remove Moq now!

by Aug 9, 2023

Remove Moq now!

Using Moq for dotnet mocking? 👀Watch out! Since version 4.20, they’ve introduced a sneaky SponserLink.

What does it do? It scans for your 📩email in your git folder during build. Sounds risky, right?

The solution? Say 👋goodbye to Moq or downgrade to ensure your safety!

Personally, I’m a fan of NSubstitute – it’s got a more pleasing syntax for mocking in my opinion.

But Moq is widely used, so consider this a 🚨warning! 🚨


Subscribe to
The Daily Friction

A daily newsletter on automation and eliminating friction

Related Content

Improving Optimization?

Improving Optimization? The traditional steps of Optimization: 1. Eliminate 2. Automate or 3. Delegate What if we added a missing element? Simplify. Before automating a convoluted workflow or delegating a tangled task, strip away the unnecessary. Make processes leaner...

read more

Unit tests for Dataverse plugins?

Unit tests for Dataverse plugins? I must admit, I almost never write unit tests for Dataverse plugins. Plugins are often quite simple, testing them in isolation is not particularly useful. Often you only test a couple of if-statements. Unit tests don't bring a lot of...

read more

New Dynamics 365 browser extension

New Dynamics 365 browser extension I'm trying out the new -Power Roles- extension and it looks very promising. You browse to a Dynamics 365 (or Power Apps) app and then you press -record-. It will then monitor all the action you do in the app and propose which...

read more