MSTest test artifacts are stored to wrong location
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C#
- Stelle
- 1.1k
- Fork
- 312
- Merge medio
- 10h 52m
- PR unite (30g)
- 339
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/testfx
-
type/automation type/tech-debt
Difficoltà 4/5 3-5 giorni Idoneità per principianti 49/100
I maintainer di solito rispondono entro 1 giorno
-
type/automation type/test-gap
Difficoltà 3/5 Mezza giornata Idoneità per principianti 15/100
I maintainer di solito rispondono entro 1 giorno
-
The productive version of Microsoft.Testing.Extensions.HangDump must not reference to a preview version of Microsoft.Diagnostics.NETCore.ClientForse già presa @Evangelink l’ha presa 10 giorni fa. Apertaarea/dump external/other
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
microsoft/testfx#11981 · 6 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
type/automation type/tech-debt
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
I maintainer di solito rispondono entro 1 giorno
-
area/server-mode-jsonrpc
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/testfx
Issue simili
-
Add All ContributorsApertaenhancement ready-for-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
fboucher/2d6-dungeon-app#288 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
Unity-Technologies/unity-agent-plugin#118 ·
I maintainer di solito rispondono entro 1 giorno
-
The Recommended preset turns on Import Uno DSP, which only works with the Material themeForse già presa @agneszitte l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
unoplatform/uno.templates#2388 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
eyalgolan/statecraft-israel#2732 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
StratumServer/Optimum#198 ·
I maintainer di solito rispondono entro 1 giorno