Code coverage shows line- 0 of n covered
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- azure, csharp
- 領域
- ci-cd, testing-qa
調査の方向性
Logs.zip と VSTest@2 パイプライン構成から始め、次に Microsoft.CodeCoverage 17.14.1 が C# .NET Framework 4.8.1 の DLL テスト アセンブリでどのように使用されているかを確認します。Microsoft.NET.Test.Sdk、参照されている PDB ファイル、テスト アセンブリのセットアップに関する issue の質問を確認します。ゼロ行しかカバーされない理由を説明する構成要件を特定できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I'm using Microsoft.CodeCoverage 17.14.1 and running the tests on Azure DevOps pipeline using the VSTest@2 task.
The CodeCoverage report is getting generated, and assemblies with the respective PDB's are present in the same directory.
The Target platform of test projects is .NET Framework v481, and tests are written in C# and have DLLs as test assemblies.
I've not added the reference of the Microsoft.NET.Test.Sdk to the test projects and haven't added the props and targets of the same.
The report says 0 lines covered out of n number of coverable lines.
Is it required to add the Microsoft.NET.Test.Sdk reference to my test projects to get the code coverage stuff working?
Is Microsoft.CodeCoverage 17.14.1 capable of covering the C# test assemblies' code coverage?
Does it need to have all PDB files on which test assemblies have references?, I mean the projects on which tests are being performed using test projects?
- 主要言語
- 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
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1425 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
RayWangQvQ/BiliBiliToolPro#1137 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100