Content tagged with: 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.
This video explains how to create unit tests for applications making use of the ADO.NET Entity Framework 4.1.
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 expressions) that make it the most productive, type-safe and refactoring-friendly mocking library available.
Sure you already do some flavor of unit testing. You use “x”Unit. But.. Do you know what the toolset can do for you? How can its features impact your style of testing and how your style of testing can be reflected on the use of features? Would you like to know how to extend the capabilities of the toolset? Watch this video if you:
a) use NUnit you can learn more of its features by watching code
b) use another testing framework and feel that it falls short on your demands
c) just …
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 new features for Code Contracts including automatic documentation generation, call-site checking for components and reference assemblies for the .NET Framework and for Pex including a light-weight mocking framework, improved support for large code bases, and more thorough test input generation.