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

            Bug ID: 57551
           Summary: Add support for JUnit @Category annotation
           Product: Ant
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
          Assignee: [email protected]
          Reporter: [email protected]

Add the possibility to the <junit> task to specify a filter to include/exclude
tests based on their @Category annotation.

For instance, it could be done like this:

<junit>
    ...
    <categories>
        <include name="com.mycompany.MyCategory1" />
        <include name="com.mycompany.MyCategory2" />
        <exclude name="com.mycompany.MyCategory3" />
    </categories>
    ...
    <batchtest>
        ...
    </batchtest>
</junit>

Maarten

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to