This project is read-only.


This demo demonstrates how to create Unit test for code in Visual Studio. There are two ways of creating Unit tests in the demo, one is using VSTS, another is using NUnit.

Knowledge Points

  • Code Coverage only works while you run test application via Start without Debugging.

Interesting Points

  • How to create tests for database related scenarios (e.g. log on a system)?
  • How to check the code coverage while using Nunit?



Last edited Nov 30, 2012 at 9:19 AM by Eason, version 1


No comments yet.