Comment by Kwpolska
3 months ago
I agree with almost all of this, especially MediatR being nonsense, but I would recommend against using a LLM to generate a mock. That’s just more code that you need to maintain and update on every interface change. NSubstitute is a fine library.
Another popular library that went commercial is FluentAssertions, Shouldly is a good open-source alternative.
No comments yet
Contribute on Hacker News ↗