`dotnet-coverage merge` drops hit counts, sets them all to 1
@jakubch1 がすでに取り組んでいます。
2022年9月14日 から。
評価
この issue はまだ評価されていません。
説明
Description
The merge command produces coverage data with hits="1" hard-coded for all covered lines.
Steps to reproduce
I have multiple cobertura coverage reports that I want to use dotnet-coverage merge to merge into one.
Consider these coverage files:
TestResults.zip
dotnet-coverage merge TestResults\*xml -r -o merged.cobertura.xml -f cobertura
Expected behavior
I expect the merged report to reflect the hit counts for each line.
In particular, the merged product should report that the {reporoot}\test\Library.Tests\Calculator.cs file's line 17 was hit 3 times.
I get the expected result when merging with the dotnet-reportgenerator-globaltool dotnet CLI tool.
Actual behavior
Every line reported in the merged .xml file reports hits="1".
merged outputs.zip contains outputs from both tools so you can compare.
- 主要言語
- C#
- スター
- 125
- フォーク
- 17
- 平均マージ
- 1時間 17分
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/codecoverage のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
microsoft/codecoverage#246 · コメント 6 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
microsoft/codecoverage#237 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/codecoverage#234 · コメント 1 件 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
microsoft/codecoverage#233 · リアクション 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
microsoft/codecoverage#232 · コメント 6 件 ·
microsoft/codecoverage の issue をすべて見る
似ている issue
-
type/automation type/tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
t/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
ci-failure-cause test-failure
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
area:auth FE mvp P3
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
klasolsson81/jobbliggaren#1788 ·