Phobis Phobis - 5 months ago 38
C# Question

Auto-generation of .NET unit tests

Is there such a thing as unit test generation? If so...

...does it work well?

...What are the auto generation solutions that are available for .NET?

...are there examples of using a technology like this? this only good for certain types of applications, or could it be used to replace all manually written unit testing?


Take a look at Pex. Its a Microsoft Research project. From the website:

Pex generates Unit Tests from hand-written Parameterized Unit Tests through Automated Exploratory Testing based on Dynamic Symbolic Execution.