Tiago Veloso
Tiago Veloso

Reputation: 8563

How to use PEX with NUnit tests in VS 2010?

I am aware that the current release of PEX allows use with the NUnit framework.

The thing is I can't configure it to use the NUnit framework.

In the Options -> PEX: What Exactly do i have to put in the "TestFramework" and "TestFrameworkDirectory".

I Have tried many combinations but failed to achieve any success.

Upvotes: 4

Views: 1015

Answers (2)

Tiago Veloso
Tiago Veloso

Reputation: 8563

I've went to the DevLabs forum in search for a solution, I've got a solution to the problem.

Here it is: http://social.msdn.microsoft.com/Forums/en-US/pex/thread/5f7cc37d-0b8e-4bad-af6f-c53c5076e7c2

Upvotes: 1

R. Martinho Fernandes
R. Martinho Fernandes

Reputation: 234424

You have to set the "TestFramework" option to "NUnit" (without quotes) and the "TestFrameworkDirectory" option to the directory where the nunit.framework.dll file is located (if you used the .msi installer it's probably "%ProgramFiles%\NUnit x.y.z\bin\net-2.0\framework").

Upvotes: 0

Related Questions