DEV Community

loading...

Discussion on: How to create fakes and mocks in C# with Moq. And what I don't like about it

Collapse
nikolicbojan profile image
Bojan Nikolić

I prefer nsubstitute.github.io/ over Moq (used it a lot before).
It is so much readable. If you have time, try it out.

Collapse
canro91 profile image
Cesar Aguirre Author

Thanks for your comment Bojan. Yes, I have tried it before. I first heard about it from "The Art of Unit Testing"

Forem Open with the Forem app