Gradle not outputting skipped JUnit tests in a format Jenkins can understand

Gradle’s JUnit test reports do not handle skipped tests in a way that jenkins can understand.

Gradle generates the following test case line for a test annotated with ‘@Ignore

<ignored-testcase name="testGetParentAdapter" classname="org.dlect.events.BaseEventAdapterTest" time="0.0"/>

These test cases do not appear in the Jenkins test over-view as ignored. Compare this to a similar test(also annotated with ‘@Ignore’) run through Maven(that is detected correctly):

<testcase time="0.001" classname="org.dlect.internal.data.UniversityDataTest" name="testSetTo">
    <skipped/>
  </testcase>

From what I have read this is an issue with Gradle’s report generating plugin not with JUnit. This also appears to be related to http://issues.gradle.org/browse/GRADLE-2731.

Yours, Lee.

P.S. sorry for the bad formatting - I’m kinda new to this :smiley:

For the record, ‘gradle --version’

------------------------------------------------------------
Gradle 1.10
------------------------------------------------------------
  Build time:
 2013-12-17 09:28:15 UTC
Build number: none
Revision:
   36ced393628875ff15575fa03d16c1349ffe8bb6
  Groovy:
     1.8.6
Ant:
        Apache Ant(TM) version 1.9.2 compiled on July 8 2013
Ivy:
        2.2.0
JVM:
        1.7.0_51 (Oracle Corporation 24.51-b03)
OS:
         Linux 3.11.0-15-generic amd64