-
Notifications
You must be signed in to change notification settings - Fork 321
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
Inconsistency in TRX logging between .NET Core 3.1.103 and 3.1.300 #2457
Comments
Okay, can you tell me what value |
|
@GeorchW is everything clear now? |
Yeah, it works now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The TRX logs are different between .NET Core 3.1.103 and 3.1.300. We noticed while relying on the output in the VSCode .NET Test Explorer extension: formulahendry/vscode-dotnet-test-explorer#267
Steps to reproduce
cd
to this folder: https://github.com/formulahendry/vscode-dotnet-test-explorer/tree/master/test/xunittestsdotnet test --no-build --logger "trx;LogFileName=testResultsXml.trx" --filter "FullyQualifiedName=XunitTests.TestClass3.Fail"
in both versions of the .NET Core SDKExpected behavior
The generated TRX file follows some kind of specification and is consistent.
Actual behavior
The TRX file differs. The output for .NET Core 3.1.103 is:
while .NET Core 3.1.300 returns:
Note the differences in
TestDefinitions/UnitTest/TestMethod/@name
.Environment
Happens under both Windows and Linux.
Actual question
On which behaviour should we rely in the future? What string is supposed to be contained in
UnitTest/TestMethod/@name
andUnitTest/@name
? Is there documentation about this somewhere?The text was updated successfully, but these errors were encountered: