Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54179

Test result does not include tests that failed in BeforeClass

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • junit-plugin
    • None

      When running Android instrumentation tests where a test class fails in the BeforeClass method, the result of this class is completely ignored by the analyzer plugin (neither shown as failed, ignored or success)

      In the result, the test name is set as "null", maybe this is the reason, why the test is not reported.

      e.g.

      <testcase name="null" classname="com.xyz" time="0.004"><failure>java.lang.IllegalStateException:[...]</failure>
      </testcase>
      

            Unassigned Unassigned
            mflock Matthias Flock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: