Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-2627

Incorrect JUnit test count when multiple tests have the same name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.4
    • 2.0.2
    • Tests
    • None
    • Standalone, OS X, Most recent JDK for mac

    Description

      I'm using TestNG and have one test class that takes a parameter. In my TestNG output, each usage of that test is shown as a different test, due to the change in parameter. this is correct. the JUnit XML file that TestNG outputs has one entry for each test case, as it should. However, the entires for these tests that, in TestNG, are parameterized, are all identical. Bamboo seems to kill the duplicates and only show one of them (possibly someone's using a Map instead of a List?) I've attached my JUnit file and a screenshot of what appears in Bamboo

      Attachments

        1. Ant test.xml
          6 kB
        2. bamboo_screen.png
          bamboo_screen.png
          51 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davetron5000 David Copeland
              Votes:
              21 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: