unit-testingGuide unit testing in Visual Studio for C#


Introduction

How to create unit test project and unit tests and how to run the unit tests and code coverage tool.

In this guide the standard MSTest framework will be used and the standard Code Coverage Analyses tool which are available in Visual Studio.

The guide was written for Visual Studio 2015, so it's possible some things are different in other versions.