.NET software testing tutorials: unit testing, open source, NUnit, SpecFlow, Visual Studio, etc.

.NET Debugging Tools

November 3, 2011 0

Many developers are not aware of all of the debugging features in Visual Studio, because debugging in Visual Studio “just works.” This article provides an overview of debugging features of Visual Studio that are often ignored by developers like actions in the Breakpoints window or data visualizers. It also discusses external tools and third-party tools you can add to your debugging toolkit.

Mocking Frameworks in .NET

October 27, 2011 2

Dealing with dependencies is the most challenging aspect of test-driven development (TDD). Mocks and stubs are created to isolate the behavior we would like to test. The article “The Art of Mocking” is a good introduction on this topic. Creating all these testing classes by hand can lead to troubles: sometimes developers duplicate these classes and other times the mocks and stubs become more complicated than the code.

NUnit Introduction

October 3, 2011 0

This video provides an introduction to the NUnit. NUnit is a unit-testing framework for all .Net languages. It is written entirely in C# and has been completely redesigned to take advantage of many .NET language features, for example custom attributes and other reflection related capabilities. The video covers what is NUnit, how to set it up, creating a test class and running tests.

Unit Testing with Silk4NET and NUnit

August 23, 2011 0

A quick look at using Visual Studio 2010 with NUnit and Silk4NET to create unit tests. We will also be using SilkCentral Test Manager to start from a manual test and automate it with Silk4NET.

Easier C# Unit Testing

August 1, 2011 0

Writing unit tests for your C# code can be time-consuming. This article proposes approaches that can make writing unit tests easier and more efficient for C# programmers.

Automated Unit Testing in .NET

May 16, 2011 0

A 14-part series of articles describing the use of automated unit testing techniques for the C# programmer. The tutorial includes the use of NUnit and Moq but is also relevant for other testing frameworks.

1 4 5 6 7