Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft PEX with NUnit

Tags:

c#

.net

nunit

pex

I am thinking of using Microsoft PEX tools for my project, but I would much rather use NUnit instead of MSUnit. Apparently, PEX Extensions project was specifically created for that, but it has no releases now, and appears to be dead. Has anyone been able to do this?

Thanks!

like image 615
Yuri Astrakhan Avatar asked Oct 13 '09 16:10

Yuri Astrakhan


People also ask

What is Microsoft PEX?

Pex automatically generates test suites with high code coverage. Right from the Visual Studio code editor, Pex finds interesting input-output values of your methods, which you can save as a small test suite with high code coverage. Microsoft Pex is a Visual Studio add-in for testing . NET Framework applications.

What is the difference between MsTest and NUnit?

MsTest is a native unit testing library that comes with Visual Studio from Microsoft. NUnit is an extra Nuget package that needs to be installed on top and interact with the APIs of Visual Studio. Nunit likely doesn't have direct integration into the native APIs like MsTest does.


1 Answers

According to this Post, NUnit test generation is now part of Pex.

Here is more information on the subject.

like image 59
The Chairman Avatar answered Oct 09 '22 02:10

The Chairman