Teamcity is relying on the test suite name extracted from the JUnit XML report to display display the suite and its tests.
This test suite name is hardcoded, so Teamcity treats all the functional test runs as a single one, preventing from accessing the test details from the web UI.
This diff adds an option to test_runner.py to allow for setting a name for the test suite, and use it to reflect the intent of the runs.
Teamcity UI before this diff (the test_runner.py script is invoked twice on this build) Link to the example build
The UI show 110 tests instead of 220.
The tests appear only once, despite they are run twice.
Teamcity UI after this diff Link to the example build
The UI shows 220 tests as expected.
The tests appear twice, one for each run. Each test for each run can be accessed directly by clicking the next to the test name and select Show in Build Log