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

TestNG tests with DataProviders not counted correctly

    • Icon: Bug Bug
    • Resolution: Handled by Support
    • Icon: Low Low
    • None
    • 2.2.1
    • Telemetry / Reporting

      When Bamboo builds our projects that use TestNG and have tests that use TestNG's @DataProvider to run the same test with multiple parameters, Bamboo counts them as a single test. For example, Bamboo says our current project has only 44 tests, but running the test goal in Maven shows we have 60 tests. For another project that makes extensive use of DataProviders, this discrepancy is much higher. Bamboo shows 38 tests while Maven reports 241.

      Best regards,
      Arthur Kalmenson

            [BAM-4122] TestNG tests with DataProviders not counted correctly

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1434080 ] New: JAC Bug Workflow v3 [ 3384048 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1407839 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1434080 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 610031 ] New: Bamboo Workflow 2016 v1 [ 1407839 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 605081 ] New: Bamboo Workflow 2014 v2 [ 610031 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 201224 ] New: Bamboo Workflow 2014 [ 605081 ]
            MarkC made changes -
            Workflow Original: reviewflow [ 177506 ] New: Bamboo Workflow 2010 [ 201224 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Ulrich Kuhnhardt [Atlassian] made changes -
            Link New: This issue was cloned as BAM-4188 [ BAM-4188 ]
            Ulrich Kuhnhardt [Atlassian] made changes -
            Resolution New: Handled by Support [ 8 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]
            Arthur Arthur created issue -

              Unassigned Unassigned
              18ae22e7cf79 Arthur Arthur
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: