Unit Testing Episodes

In this episode we are going to take a look at how you can use Visual Studio 2010 to perform load testing on your WCF services

When building out any WCF services it is very important to understand how they will handle under load and stress. You will want know that your services will respond well under peak load in order to allow your users to have a solid experiance. With VS2010 Ultimate there are tools built in which will give you this ability.

Unit testing is great, but most free isolation frameworks require that your mocks implement an interface. But what do you do when the class you are trying to mock is static or sealed with no interface. If you can’t modify the class then your unit testing efforts are usually stuck. Moles, the new free isolation framework from Microsoft, supports mocking almost any CLR based class (including sealed and static classes).

In this episode we take a look at how to create and write test with Team Foundation Server (TFS). You will learn how you can use Team System to create test shells from existing code, as well as how to modify and run those tests.

In this episode we will cover the basics on how to create various unit test using the NUnit testing framework. We will also review the different Assert helper classes that are part of the testing framework.