gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 786 forks source link

Teamcity reporter modified to send proper coverage values #680

Open mracz opened 8 years ago

mracz commented 8 years ago

Changes:

TeamCity documentation states this:

You should not publish values CodeCoverageB, CodeCoverageL, CodeCoverageM, CodeCoverageC standing for block/line/method/class coverage percentage. TeamCity will calculate these values using their absolute parts. E.g. CodeCoverageL will be calculated as CodeCoverageAbsLCovered divided by CodeCoverageAbsLTotal. You could publish these values but in this case they will lack decimal parts and will not be useful.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.001%) to 97.524% when pulling d2e7776015c7028cb91952e3e2f2d4636f16a00f on mracz:master into fef889b14850bb35598599cb5b1954fd06d9993f on gotwarlost:master.