← Back to team overview

nunit-core team mailing list archive

[Bug 881357] [NEW] nunit-console.exe doesn't run tests from a category if it contains a hyphen (-)

 

Public bug reported:

Version: 2.5.10
Create a test in a category that contains hyphens (in my case V_2011-Sprint-k)
Try to runs tests in this category with the console runner, e.g.
nunit-console.exe wstestrunner.dll /nologo /nodots /labels /xml:temp.xml /include:V_2011-Sprint-k

No tests executed, see console output below:

ProcessModel: Default    DomainUsage: Single
Execution Runtime: Default
Included categories: V_2011-Sprint-k

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

Filtering by this category works OK in GUI app.

** Affects: nunitv2
     Importance: Undecided
         Status: New


** Tags: category console include

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/881357

Title:
  nunit-console.exe doesn't run tests from a category if it contains a
  hyphen (-)

Status in NUnit V2 Test Framework:
  New

Bug description:
  Version: 2.5.10
  Create a test in a category that contains hyphens (in my case V_2011-Sprint-k)
  Try to runs tests in this category with the console runner, e.g.
  nunit-console.exe wstestrunner.dll /nologo /nodots /labels /xml:temp.xml /include:V_2011-Sprint-k

  No tests executed, see console output below:

  ProcessModel: Default    DomainUsage: Single
  Execution Runtime: Default
  Included categories: V_2011-Sprint-k

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

  Filtering by this category works OK in GUI app.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/881357/+subscriptions


Follow ups

References