views:

263

answers:

2

Hi,

My test suite project contains some explicit test cases, now i want to execute the test cases with the help of Nunit-console.exe. When i execute the test cases, the explicit test cases were excluded from the execution. So, i have tried to execute the test cases using the batch file in the following manner.

nunit-console.exe test1.dll nunit-console.exe test1.dll /include:Expicit

I am executing the above 2 commands with the help of batch file.But i am not able to execute the explicit test cases.

Could you please let me know how to execute explicit test cases with the help of nunit-console.exe

+2  A: 

Explicit tests can only be run with nunit-console if you name the test or test fixture on the command line, using the /fixture option.

Peter Lillevold
A: 

You have a typo: /include:Exp"l"icit... perhaps this is the cause?

LohanJ