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

Tests with the same name are no longer reported in the test results

XMLWordPrintable

      After updating from 1.425 to 1.456 test results will only show one test for tests having the same name.
      Test set having tests executed with parameters:
      ...
      ..Executing TestMyTest#testDefault(true)
      ..Executing TestMyTest#testDefault(false)
      .Finished test set [Unit Tests] on Fri Mar 23 12:26:08 CET 2012. Executed [132] tests.

      Resulting test results: xml
      ...
      <testcase time="0.047" classname="TestMyTest" name="testDefault"/>
      <testcase time="0.043" classname="TestMyTest" name="testDefault"/>
      </testsuite>

      In version 1.425 the 132 test results where correctly displayed.
      In version 1.456 the test results page is only having one entry for these tests, total amount of tests reported is no longer valid and is the count per test method and not the count of tests actually executed.

            kutzi kutzi
            ajbanck ajbanck
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: