As more and more developers embrace the joys of unit testing, I'm starting to see a lot more tests in code reviews, which is great to see! I am, however, seeing a lot of the same mistakes pop up.

To help with this, I wanted to use this blog post as a means to showcase a document I've been working on that outlines some best practices when writing unit tests in C#.

UPDATE: This document has been added to the Microsoft docs website (https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices)

If you would like to contribute, the GitHub repo can be found here.

Happy unit testing!