-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix - dotnet test on a multi-target projects logs only the last target #1877
Fix - dotnet test on a multi-target projects logs only the last target #1877
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello! I'm using version "16.0.0-preview-20190203-03" which, if I interpret the roadmap doc correctly, should include this PR. However, when I execute dotnet test --logger "trx;logFileName=C:\Path\File.trx" against a solution containing multiple test projects the result file is not appending the timestamp mentioned above and thus the result file is overwritten by the next test project. I also tried executing the command against a single csproj file with the same result (trx file without timestamp). Any idea of what I could be doing wrong? |
What if the timestamp is unwanted? I don't see an option to omit it for single-target projects. This breaks our CI workflow. |
Thanks for breaking all our ci workflows. |
This change has some problems.
|
…st target (microsoft#1877)" This reverts commit 3769676.
Related issue
#1603
Description
Timestamp is appended to trx filename with millisecond precision. Thus for multi-target projects, trx for both targets will be stored.
Example:
dotnet test testproject.csproj --logger:"trx;logFileName=E:\results.trx"
will save trx fileE:\results_2018-12-24_14-01-07-176.trx
where2018-12-24_14-01-07-176
is the timestamp.