Rhyous

C# Unit Test Tutorial

http://rcm.amazon.com/e/cm?t=rhys127001or1-20&o=1&p=8&l=as1&asins=1933988274&ref=tf_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr
The goal of Unit Testing is to write test code that tests production code. Unit Testing can be an amazing driver of quality or an expensive epic fail. Here are some best practices to make sure it the former, a driver of quality, instead of the latter, an epic fail.

This is going to be a work in progress and I will post articles as I write them…

C# Unit Testing – Basic

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

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. How to write your first Unit Test with Visual Studio
  2. Unit Testing with a fake implementation of an Interface
  3. Unit Testing Registry access with RhinoMocks and SystemWrapper
  4. Unit Testing File IO with RhinoMocks and SystemWrapper
Other References to learn Unit Testing

Create a free website or blog at WordPress.com.

%d bloggers like this: