MSTest
MSTest is Microsoft's official testing framework for .NET applications. It's a fully supported, open-source, cross-platform framework that works with all .NET targets (.NET Framework, .NET Core, .NET, UWP, WinUI). MSTest integrates seamlessly with Visual Studio, VS Code Test Explorer, .NET CLI, and CI pipelines.
Generate XML Report
To generate xml file report, you can use the spekt/testlogger library which provides Junit, NUnit and Xunit logger/reporter extensions for Visual Studio Test Platform (VSTest).
First, install the appropriate test logger package:
dotnet add package JunitXml.TestLoggerThen run tests with the logger and log file path:
dotnet test --logger:"junit;LogFilePath=../test-results.xml"Install Tacotruck CLI
$ npm install -g @testfiesta/tacotruckSubmit Test Results
tacotruck testfiesta \
run:submit \
--token testfiesta_... \
--handle orgHandle \
--project projectKey \
--name runName \
--data results-path/*.xmlSupport and Resources
Last updated