Discussion:
NUnit CCNet task and /noshadow
Ben Hall
2008-05-17 15:19:11 UTC
Permalink
Hello,

I need to set the /noshadow property when running my unit tests using
NUnit. However, I can't see how to pass parameters to the console in
the task.

I tried to add it to the path and that didn't work.
<path>E:\CCNet\NUnit\2.4\nunit-console.exe /noshadow</path>

System.IO.IOException: Unable to execute file [C:\Program
Files\TestDriven.NET 2.0\NUnit\2.4\nunit-console.exe /noshadow]. The
file may not exist or may not be executable

Has anyone done this before?

Thanks
Ben

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Cory Foy
2008-05-17 17:21:14 UTC
Permalink
Hi Ben,

I believe the exec task has a params child node or attribute which specifies which parameters you want to include.

Cory

-----Original Message-----
From: "Ben Hall" <***@googlemail.com>
To: nunit-***@lists.sourceforge.net
Sent: 5/17/08 11:19 AM
Subject: [nunit-developer] NUnit CCNet task and /noshadow

Hello,

I need to set the /noshadow property when running my unit tests using
NUnit. However, I can't see how to pass parameters to the console in
the task.

I tried to add it to the path and that didn't work.
<path>E:\CCNet\NUnit\2.4\nunit-console.exe /noshadow</path>

System.IO.IOException: Unable to execute file [C:\Program
Files\TestDriven.NET 2.0\NUnit\2.4\nunit-console.exe /noshadow]. The
file may not exist or may not be executable

Has anyone done this before?

Thanks
Ben

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
nunit-developer mailing list
nunit-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nunit-developer



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Loading...