Evenimente
Construiți aplicații și agenți AI
17 mar., 21 - 21 mar., 10
Alăturați-vă seriei de întâlniri pentru a construi soluții AI scalabile bazate pe cazuri de utilizare din lumea reală cu colegi dezvoltatori și experți.
Înregistrați-vă acumAcest browser nu mai este acceptat.
Faceți upgrade la Microsoft Edge pentru a profita de cele mai noi funcții, actualizări de securitate și asistență tehnică.
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'. |
Feedback pentru .NET
.NET este un proiect open source. Selectați un link pentru a oferi feedback:
Evenimente
Construiți aplicații și agenți AI
17 mar., 21 - 21 mar., 10
Alăturați-vă seriei de întâlniri pentru a construi soluții AI scalabile bazate pe cazuri de utilizare din lumea reală cu colegi dezvoltatori și experți.
Înregistrați-vă acumInstruire
Modul
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.