Unit Tests generation with Pex using Visual Studio 2010 and C# 4.0
This is the third post of a series about testing tools and techniques using Visual Studio 2010, Team Foundation Server 2010, Microsoft Test Manager 2010, and C# 4.0.
In the first post I showed how Visual Studio allows test driven development and in the second post how to automatically generate test cases from code.
Pex is a tool created by Microsoft Research that integrates into Visual Studio and automatically generates parameterized unit tests from code. In addition, Pex analyzes code under test and automatically generates test cases with high code coverage. In this video you will see how to create a unit test for a Factorial method of a Calculator class using Pex.
You can find more details about Pex, including sample code, in this post.
[…] Unit tests generation with Pex […]
LikeLike
Testing with Visual Studio 2010 « Fernando Machado Píriz's Blog
May 19, 2010 at 1:03 am
[…] https://fernandomachadopirizen.wordpress.com/2010/05/19/unit-tests-generation-with-pex-using-visual-s… […]
LikeLike
A arquitetura do Condobook. » SharpShooters
January 12, 2011 at 8:10 pm
[…] Unit Tests generation with Pex using Visual Studio 2010 and C# 4.0 […]
LikeLike
How to: NUnit vs Visual Studio 2008's Test Projects for Unit Testing? | SevenNet
November 30, 2014 at 3:09 am
[…] Unit Tests generation with Pex using Visual Studio 2010 and C# 4.0 […]
LikeLike
Fixed NUnit vs Visual Studio 2008's Test Projects for Unit Testing? #dev #it #asnwer | Good Answer
December 21, 2014 at 6:41 pm