Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article list and explains all Microsoft Testing Platform extensions related to the terminal output.
Terminal test reporter is the default implementation of status and progress reporting to the terminal (console).
It comes built-in with Microsoft.Testing.Platform, and offers ANSI and non-ANSI mode, and progress indicator.
There are two output modes available:
Normal
, the output contains the banner, reports full failures of tests, warning messages and writes summary of the run.
Detailed
, the same as Normal
but it also reports Passed
tests.
Internally there are 2 different output formatters that are auto-detecting the terminal capability to handle ANSI escape codes.
--no-ansi
is used, or when output is redirected.The default is to auto-detect the capabilities.
A progress indicator is written to terminal. The progress indicator, shows the number of passed tests, failed tests, and skipped tests, followed by the name of the tested assembly, its target framework and architecture.
The progress bar is written based on the selected mode:
The available options are as follows:
Option | Description |
---|---|
no-progress | Disable reporting progress to screen. |
no-ansi | Disable outputting ANSI escape characters to screen. |
output | Output verbosity when reporting tests. Valid values are 'Normal', 'Detailed'. Default is 'Normal'. |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
C# testing in Visual Studio - Training
Start testing your C# apps by using the testing tools in Visual Studio. Learn to write tests, use Test Explorer, create test suites, and apply the red, green, refactor pattern to write code.
Documentation
Microsoft.Testing.Platform hosting extensions - .NET
Learn about the various Microsoft.Testing.Platform hosting extensions and how to use them.
Microsoft.Testing.Platform extensions - .NET
Learn about the various Microsoft.Testing.Platform extensions and how to use them.
Microsoft.Testing.Platform diagnostics extensions - .NET
Learn about the various Microsoft.Testing.Platform diagnostics extensions and how to use them.