You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Run dotnet test --no-build --logger "trx;LogFileName=testResultsXml.trx" --filter "FullyQualifiedName=XunitTests.TestClass3.Fail" in both versions of the .NET Core SDK
Expected 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:
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 and UnitTest/@name? Is there documentation about this somewhere?
The text was updated successfully, but these errors were encountered:
Okay, can you tell me what value TestDefinitions/UnitTest/@name contains? Is it just the un-split test method name? Or is it possible for a UnitTest node to contain multiple TestMethods?
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: