You could use TeamCity’s service messages to report the figures from the tests. However, it looks like you need some sort of accumulator to report the totals instead of the individual numbers. There’s no such functionality out-of-the-box so you’d have to invent something. Maybe it’s possible to store the counts in some environment variable and then add new figures to that variable and then report via a service message. Or maybe it is possible to somehow implement it in a custom JUnit executor, I’m not sure.
↧