-
Notifications
You must be signed in to change notification settings - Fork 325
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
Tests results not aggregating result for each targetFrameworks #880
Comments
Can we suffix the target framework to trx filename for a MTFM project if user provides a log filename? E.g. .net46.trx and .netcoreapp1.0.trx |
Another issue I'm having today is that AppVeyor ignores all but the first |
@pvlakshm Pratap, it seems to me that we need to spec it out,
Unfortunately we cannot re-use trx file from 1st run, & append the data for 2nd. As proposed by Arun we can rename trx file by appending the targetframework name, or we can show user a clear warning that his trx file will be overwritten. |
While overwriting the message we show is "WARNING: Overwriting results file: C:\Users\maban\source\repos\UnitTestProject32\UnitTestProject32\TestResults\abc.trx" |
Removing the bug tag, and marking it an enhancement. We will use this as input when we do planning for Q2 of next year. |
Same problem occurs with multiple test projects. For example, I have an |
We tried to resolve this issue via #2140 |
@singhsarab Even using the prefix switch I still get the overwrite warning. This is due to the resolution of the timestamp. Is there a way to insert the test project name into the filename? This would stop it from overwriting or is there another way to overcome this? |
@Jsparham777 Medeni was fixing this in #2508 which is shipped in 16.8. |
AltCover is cool. When I run |
I have a similair issue when running following command
This overrides the test file on each test run. Is there a way to specify that each test run should create a new test result file? Or can I specify the file type when using |
@Haplois I was using v16.7.1 when I wrote the first post, but updated to v16.8.3 recently. Still the file get's overriden on every test execution. Is there a way to tell To give a bit more insight: In the end, this is the command which get's executed:
|
It's possible not to customize the extension when using the
When you specify the exact filename using the |
This is a new feature and won't be implemented, we are focusing on adding new features to Testing.Platform instead. https://aka.ms/testingplatform |
From @bhugot on June 20, 2017 9:50
Steps to reproduce
Create a test project with 2 targetFrameworks and 1 Test
run Dotnet Test --logger "trx;LogFileName=abc.trx"
Expected behavior
The file abc.trx should contains 2 lines, one for each target framework
Actual behavior
There is only one line for the last targetFramework used.
Environment data
dotnet --info
output:.NET Command Line Tools (2.0.0-preview2-006127)
Product Information:
Version: 2.0.0-preview2-006127
Commit SHA-1 hash: 946ea7980a
Runtime Environment:
OS Name: Windows
OS Version: 6.1.7601
OS Platform: Windows
RID: win7-x64
Base Path: C:\Users\bhugot100316.dotnet\x64\sdk\2.0.0-preview2-006127\
Microsoft .NET Core Shared Framework Host
Version : 2.0.0-preview1-002111-00
Build : 1ff021936263d492539399688f46fd3827169983
Copied from original issue: dotnet/cli#6951
The text was updated successfully, but these errors were encountered: