You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2011/01/18 20:40:35 UTC

DO NOT REPLY [Bug 50611] New: NUnit Task Include/Exclude Categories

https://issues.apache.org/bugzilla/show_bug.cgi?id=50611

           Summary: NUnit Task Include/Exclude Categories
           Product: Ant
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: .NET Antlib
        AssignedTo: notifications@ant.apache.org
        ReportedBy: luke.torjussen@googlemail.com


The command line for NUnit to include/exclude tests of certain categories is
specified as a comma separated string.
e.g. if I want to include test categories ATests, BTests and CTests I do:
"/include:ATests,BTests,CTests"
But using the nunit task produces "/include:,ATests,BTests,CTests"

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 50611] NUnit Task Include/Exclude Categories

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50611

Luke Torjussen <lu...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 50611] NUnit Task Include/Exclude Categories

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50611

--- Comment #1 from Luke Torjussen <lu...@googlemail.com> 2011-01-18 15:05:34 EST ---
Created an attachment (id=26512)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26512)
java patch

moved repeated code for creating comma separated string into separate method as
well as fixing bug

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 50611] NUnit Task Include/Exclude Categories

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50611

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
            Version|unspecified                 |1.0
         Resolution|                            |FIXED
   Target Milestone|---                         |1.1

--- Comment #2 from Stefan Bodewig <bo...@apache.org> 2011-01-21 11:35:03 EST ---
This has actually already been fixed in svn with svn revision 752525 
but I took your patch as inspiration to factor out the redundant code
a little.  svn revision 1061884

Given the fix for this embarrasing bug has been in svn for almost two years
it may finally be time to think about a new release.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.