Extra test metrics (number of sql queries)

Is it possible to collect and display additional metrics for tests?
For example, I can provide in some way from my AfterTest method information about how many sql queries had performed for this test, and I would like to store and analyse this information in TC.
This metric should be very similar to Test Duration (aggregate, show in graphs etc.)

1 comment
Comment actions Permalink

Hi Vlad,

Yes, you can report custom metrics in TeamCity from your build script and use them to create a custom chart. There are two ways to report custom metrics to TeamCity:

Please see the related section in documentation: https://confluence.jetbrains.com/display/TCD9/Custom+Chart#CustomChart-CustomBuildMetrics

0

Please sign in to leave a comment.