C# Unit Test Tutorial

Obviously this is going to be a work in progress…

C# Unit Testing – Basic

  1. What is Unit Test?
  2. C# Unit Test Best Practices

C# Unit Testing – Advanced

  1. Why Interface-based design leads to good Unit Tests?
  2. What is Mocking and how do you Mock in C# Unit Tests?
  3. Unit Testing code that touches the system

C# Unit Test Examples

  1. Unit Testing Registry access with RhinoMocks and SystemWrapper
  2. Unit Testing File IO with RhinoMocks and SystemWrapper
Other Reference to learn Unit Testing

Comments are closed.