Track multiple metrics per test Follow
Is it possible to track custom metrics, other than 'duration' for individual tests part of a single build? This is supported for the entire build, through 'buildStatisticValue', however, is there a per-test equivalent?
I tried to pass more key/values to
##teamcity[testFinished name='testName' duration='<test_duration_in_milliseconds>']
but it seems that only 'duration' is accepted.
Please sign in to leave a comment.
Since 2018.2, it is possible to include extra information on individual tests through the use of test metadata. You can customize both the names and values of the individual parameters you wish to track. The available options for data types include number, string/text, external links, links to artifacts, and images from artifact directory. We have documentation on the use of test metadata available here: https://www.jetbrains.com/help/teamcity/2019.1/reporting-test-metadata.html#ReportingTestMetadata-Reportingadditionaltestdata