nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01482
[Bug 697329] [NEW] NUnit tries to test disabled projects
Public bug reported:
See discussion here: http://groups.google.com/group/nunit-
discuss/browse_thread/thread/c1ab27746efb6d2c
I use the following command to run all unit tests in Visual Studio
solutions:
nunit-console-x86 foo.sln /config=Release
That works great! Except:
Since some projects should not be built in the release configuration,
they have been disabled in the release configuration (using Visual
Studio's "Configuration Manager" - the "Build" checkbox is unchecked).
The problem is that nunit still tries to test the disabled projects,
which results in the following "File not found"-error:
C:\buildsystem\bin\CruiseControl.NET-1.4.3.4023-patched\WorkingDirs\Foo-v2.8>nunit-console-x86 foo.sln /config=Release
NUnit version 2.5.9.10348
Copyright (C) 2002-2009 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.
Runtime Environment -
OS Version: Microsoft Windows NT 6.1.7600.0
CLR Version: 2.0.50727.4927 ( Net 2.0 )
ProcessModel: Default DomainUsage: Default
Execution Runtime: Default
Could not find file 'C:\buildsystem\bin\CruiseControl.NET-1.4.3.4023-patched\WorkingDirs\Foo-v2.8\SomeDisabledProject\bin\Release\SomeDisabledProject.dll'.
Since specifying the sln-file is very convenient, I'd prefer not having
to specify single csproj-files or single dlls...
Thanks,
Max
** Affects: nunitv2
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/697329
Title:
NUnit tries to test disabled projects
Status in NUnit V2 Test Framework:
New
Bug description:
See discussion here: http://groups.google.com/group/nunit-discuss/browse_thread/thread/c1ab27746efb6d2c
I use the following command to run all unit tests in Visual Studio solutions:
nunit-console-x86 foo.sln /config=Release
That works great! Except:
Since some projects should not be built in the release configuration, they have been disabled in the release configuration (using Visual Studio's "Configuration Manager" - the "Build" checkbox is unchecked).
The problem is that nunit still tries to test the disabled projects, which results in the following "File not found"-error:
C:\buildsystem\bin\CruiseControl.NET-1.4.3.4023-patched\WorkingDirs\Foo-v2.8>nunit-console-x86 foo.sln /config=Release
NUnit version 2.5.9.10348
Copyright (C) 2002-2009 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.
Runtime Environment -
OS Version: Microsoft Windows NT 6.1.7600.0
CLR Version: 2.0.50727.4927 ( Net 2.0 )
ProcessModel: Default DomainUsage: Default
Execution Runtime: Default
Could not find file 'C:\buildsystem\bin\CruiseControl.NET-1.4.3.4023-patched\WorkingDirs\Foo-v2.8\SomeDisabledProject\bin\Release\SomeDisabledProject.dll'.
Since specifying the sln-file is very convenient, I'd prefer not having to specify single csproj-files or single dlls...
Thanks,
Max
Follow ups
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2013-10-17
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2013-10-05
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2012-01-25
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2012-01-16
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-12-29
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-12-11
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-11-28
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-11-26
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-11-20
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-11-20
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-11-04
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-10-24
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Launchpad Bug Tracker, 2011-10-24
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-10-24
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-10-21
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Simone Busoli, 2011-03-16
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Simone Busoli, 2011-03-13
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Simone Busoli, 2011-03-13
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-03-13
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-03-13
-
[Bug 697329] Re: NUnit tries to test disabled projects
From: Charlie Poole, 2011-01-04
-
[Bug 697329] [NEW] NUnit tries to test disabled projects
From: fromax, 2011-01-04
References