Why the TestNG tests counter is not incrementing when the tests are run in multiple build steps

I have setup my tests (Selenium > TestNG > Ant) as multiple teamcity build steps and  when run, the no. of tests count increments until all the tests in the first step are completed. Once the tests in second build step starts, the count won't increment. Did anyone had this problem and is there a solution.

1 comment
Comment actions Permalink


By design multiple tests with the same name within the same build are considered a single test with an invocation count. For more details please see "Handling tests with the same name within a build" in upgrade notes: https://confluence.jetbrains.com/display/TCD9/Upgrade+Notes.
Is this the case? What TeamCity version do you use?


Please sign in to leave a comment.