badges/shields

Enhance TeamCity Coverage Badge

Open

#3111 opened on Feb 27, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (22,337 stars) (5,423 forks)batch import
good first issueservice-badge

Description

:clipboard: Description

Enhance the TeamCity Coverage Badge to allow the user to specify the coverage metric (lines, statements, etc.) they want to use via a param.

Our current badge implementation is keying off statement coverage, but while I was working on resolving https://github.com/badges/shields/issues/2901 I noticed that a lot (actually the majority) of TeamCity projects with coverage did not have statement coverage (most had line coverage long with method/function, and others).

If we allowed the user to specify their target coverage metric (we can still default to statement) then we can make the coverage badge for TeamCity available to a much broader set of users

Contributor guide