Tag: unit testing
Customizing Project Level Templates in Visual Studio Unit Test Framework
The only available test framework that’s provided out of the box with ASP.NET MVC 3 is the Visual Studio Unit Test framework. This article, based on chapter 23 of ASP.NET MVC 3 in Action, shows you how to create and install custom test project templates and view engine options.
.NET Unit Testing
Lear how unit testing in .NET is an important practice to improve software quality and team velocity from a unit testing and agile methodology veteran.
Moq Setup Arguments
This video explains how to use Setup parameters in the Returns of a mocked function using Moq. Moq (pronounced “Mock-you” or just “Mock”) is the only mocking library for .NET developed from scratch to take full advantage of .NET 3.5 (i.e. Linq expression trees) and C# 3.0 features (i.e. lambda …
Code Contracts and Pex: Power Charge Your Assertions and Unit Tests
This video shows how Code Contracts provides a set of tools for design-by-contract programming and how Pex is an advanced unit-testing tool that uses automated program exploration to intelligently create unit tests with high code coverage. See how they work together so that your code has fewer defects. Learn about …
Behavior-Driven Development in the Real World
Behavior-Driven Development is more than a technique for creating and organizing unit tests. It is also a wonderful way to communicate with customers and users about the software being created. This video demonstrates some techniques and tools you can use to start delivering software with BDD. : Using Behavior-Driven Development …