Incorrect JUnit test count when multiple tests have the same name

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 4.4
    • Affects Version/s: 2.0.2
    • Component/s: Tests
    • None
    • Environment:

      Standalone, OS X, Most recent JDK for mac

      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

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

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

              Created:
              Updated:
              Resolved: