MSTest test artifacts are stored to wrong location
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how MSTest determines the artifact output directory and how that path is reported when running from the command line and Visual Studio Test Explorer. Reproduce with MSTest 4.5.2 and MTP 2.5.2, then compare the reported paths with where the files are written. Done means the reported artifact locations match the actual locations in both environments.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Test artifacts are stored to wrong location
Version used
MSTest 4.5.2
MTP 2.5.2
Steps To Reproduce
- Run test with command line or in VisualStudio Test Explorer
- Wait till test is completed
- Review test output
Expected behavior
Artifacts are stored to correct location and correct list of artifacts is shown
Actual behavior
Run with command line
Artifacts are actually stored to current directory but logs shows another location:
In process file artifacts produced:
- For test 'FeedbackTab_NavigateToObjectFeedback': TestResults.mstest-c2fb5fba\2\FeedbackTab_NavigateToObjectFeedback_3624.zip
- For test 'FeedbackTab_NavigateToObjectFeedback': TestResults.mstest-c2fb5fba\1\FeedbackTab_NavigateToObjectFeedback_9e9866b5-687f-43c6-83ab-0c2c3de0554d.png
In VS Studio Test Explorer:
Artifacts are stored to:
C:\repo1\Testing\FunctionalTests\FunctionalTests.UITests\bin\Debug
Test report shows:
Attached files not found:
C:\repo1\Testing\FunctionalTests\TestResults.mstest-8ccbca7f\2\FeedbackTab_NavigateToObjectFeedback_e865.zip
C:\repo1\Testing\FunctionalTests\TestResults.mstest-8ccbca7f\1\FeedbackTab_NavigateToObjectFeedback_2ecb4da8-614c-46d9-a9b2-d26eec9db2ee.png
Additional context
We are using Microsoft.Testing.Extensions.AzureDevOpsReport to publish test results in pipeline and it's working fine. All attachments are published.
- 主要言語
- C#
- スター
- 1.1k
- フォーク
- 312
- 平均マージ
- 10時間 39分
- マージ済み PR(30日)
- 349
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/testfx のほかの issue
-
type/automation type/tech-debt
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
needs/triage
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
メンテナーはふだん 1 日以内に返信
-
[aw] Detection Runsオープンagentic-workflows
難易度 1/5 1時間未満 初心者へのやさしさ 1/100
microsoft/testfx#12224 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
type/automation type/test-gap
難易度 3/5 半日 初心者へのやさしさ 15/100
メンテナーはふだん 1 日以内に返信
-
The productive version of Microsoft.Testing.Extensions.HangDump must not reference to a preview version of Microsoft.Diagnostics.NETCore.Client対応中かも @Evangelink が 10 日前に担当しました。 オープンarea/dump external/other
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
microsoft/testfx#11981 · コメント 6 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
microsoft/testfx の issue をすべて見る
似ている issue
-
enhancement needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/microsoft-ui-reactor#1460 ·
メンテナーはふだん 1 日以内に返信
-
t/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
dotnet/maui#39950 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
The server's default HttpClient fails on plain http and on HTTPS servers without HTTP/2対応中かも @yasmoradi が今日担当しました。 オープンarea / templates
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
bitfoundation/bitplatform#14659 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CommunityToolkit/Datasync#600 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NimblePros/deviq-hugo#121 ·
メンテナーはふだん 1 日以内に返信