This project is read-only.

Unit Testing Guidelines and Best Practices

In order to perform efficient testing in Visual Studio, the following guidelines and best practices are recommended.
  1. Tests for each class had name of the form MyClassTest.cs
  2. Tests are written in form
public class MyClassTest
   public void ShouldReturnName()
  1. Test classes files(*.cs) should better be located in same hierarchical location, their tested classes exist.
  2. Tests for each class should be appropriately injected in the Test List Editior following the hierarchical namespace location of the tested class. To open Test List Editor, open Test -> Windows -> Test List Editor in Visual Studio.

Last edited Aug 31, 2010 at 4:04 PM by arcane_master, version 1


No comments yet.