Stack Overflow Asked by Sony Kuruvilla on December 3, 2021
I have a test project (NUnit) developed in .Net Core framework
Below are the references.
<ItemGroup>
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0"/>
</ItemGroup>
I am able to execute the test from command prompt as below
dotnet test Tests.csproj
The results are displayed on the screen. However I would like to have the report saved in a xml or trx file.
Any help is much appreciated.
dotnet test --logger trx
It is present in MS docs dotnet test
Answered by Manas Singhal on December 3, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP