Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Similar to Ant, Surefire should support excludes defined in an external file like this
<testExcludes>
<excludeFile>test-excludes-jboss501.txt</excludeFile>
</testExcludes>
The exclude file would look like this
- [JBWS-2135] WebServiceException: Undefined port type
org/jboss/test/ws/jaxws/jbws1822/**
- [JBWS-2136] ClassCastException: com.sun.xml.ws.server.EndpointMessageContextImpl
org/jboss/test/ws/jaxws/namespace/**
- [JBAS-5359] mapped-name is required for context of deployment
org/jboss/test/ws/jaxws/jbws1611/**
Issue Links
| This issue relates to: | ||||
| MCOMPILER-72 | Add support for specifying includes/excludes in an external file |
|
|
|
I don't think that's the feature you want; there's a better way to do it. JUnit 4 includes a @Ignore annotiation; TestNG allows you to have your tests throw a SkipException which does something similar. That will keep the tests in the report, but mark them as "yellow" or "skipped".
If we excluded known bugs entirely, they would simply disappear from the report.