← Back to team overview

nunit-core team mailing list archive

[Bug 590717] Re: categorie contains dash or trail spaces is not selectable

 

Fixed in 2.5.6 by disallowing the offending characters. A test with such
a category name is considered not runnable. Trailing spaces are now
trimmed.

For 3.0, it's not clear yet how we will deal with this. We may have an
entirely different selection syntax.

** Changed in: nunitv2
       Status: Triaged => Fix Committed

-- 
categorie contains dash or trail spaces is not selectable
https://bugs.launchpad.net/bugs/590717
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit Test Framework: New
Status in NUnit V2 Test Framework: Fix Committed

Bug description:
PS C:\umpc> NUnit\nunit-console-x86.exe /labels bin/Debug/LauncherTest.dll /exclude="A-"
NUnit version 2.5.5.10112
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: 4.0.30319.1 ( Net 4.0 )

ProcessModel: Default    DomainUsage: Single
Execution Runtime: net-4.0
Excluded categories: A-
***** LauncherTest.Bug.A

Tests run: 1, Errors: 0, Failures: 0, Inconclusive: 0, Time: 0,0470027 seconds
  Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0

//////////////////////////////////////////////////////////////////////////

[Category("A-")]
[Test]
public void A()
{
}





References