Skip to content

Add support for TeamCity using service messages #226

@obtuse-whoosh

Description

@obtuse-whoosh

I've noticed that TeamCity does not support any of the output formats currently offered by this tool and the ReportGenerator tool. It would be a simple thing to add some support for writing TeamCity service messages out to the console, since we already print some statistics.

Some Statistics that are easily supported:

TeamCity Statistic Key Description
CodeCoverageL Line Coverage
CodeCoverageC Class Coverage
CodeCoverageM Method Coverage
CodeCoverageAbsLTotal The total number of lines
CodeCoverageAbsLCovered The number of covered lines
CodeCoverageAbsCTotal The total number of classes
CodeCoverageAbsCCovered The number of covered classes
CodeCoverageAbsMTotal The total number of methods
CodeCoverageAbsMCovered The number of covered methods

Some statistics that would require extra work to support:

TeamCity Statistic Key Description
CodeCoverageS Statement Coverage
CodeCoverageB Block Coverage
CodeCoverageR Branch Coverage
CodeCoverageAbsSTotal The total number of statements
CodeCoverageAbsSCovered The number of covered statements
CodeCoverageAbsBTotal The total number of blocks
CodeCoverageAbsBCovered The number of covered blocks
CodeCoverageAbsRTotal The total number of branches
CodeCoverageAbsRCovered The number of covered branches

See the documentation here for more info about TeamCity service messages
See the documentation here for more info about TeamCity statistics

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions