Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1879

Optionally ignore known broken tests

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-4.0.3 Final
    • None
    • Test Suite
    • None
    • 0
    • 0% 0%

      Create a known.issues patternset in the testsuite/build.xml (for all 3 branches). Initially, this will be empty, but it will eventually contain a list of tests to exclude from the testsuite if the exclude.known.issues property is set.

      <property name="exclude.known.issues" value="false">

      <patternset id="known.issues.excludes">
      <exclude name="org.jboss.test.something.test.TestCase" if="exclude.known.issues"/> <!-- JBAS-XXXX -->
      </patternset>
      ...
      <fileset dir="${build.classes}">
      <include name="**/*UnitTestCase.class"/>
      <include name="org/objectweb/jtests/**/*Test.class"/>
      <patternset refid="all.excludes"/>
      <exclude name="**/test/xa/test/XAUnitTestCase.class"/>
      <patternset refid="known.issues.excludes"/>
      </fileset>

            ryan.campbell_jira ryan.campbell (Inactive)
            ryan.campbell_jira ryan.campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: