Microsoft Testing is a set of platform, framework and protocol intended to make it possible to run any test on any target or device. This package extends Microsoft Testing Platform to produce test reports in the Common Test Report Format (CTRF, https://ctrf.io).
Install
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Microsoft.Testing.Extensions.CtrfReport
Microsoft.Testing.Extensions.CtrfReport is an extension for Microsoft.Testing.Platform that generates a test report in the Common Test Report Format (CTRF) at the end of a test session.
Microsoft.Testing.Platform is open source. You can find Microsoft.Testing.Extensions.CtrfReport code in the microsoft/testfx GitHub repository.
Install the package
dotnet add package Microsoft.Testing.Extensions.CtrfReport
About
⚠️ Experimental: This extension is currently experimental. The API, CLI options and on-disk format may change in future releases without notice. The CTRF specification itself is also pre-1.0 and may evolve.
This package extends Microsoft.Testing.Platform with:
- CTRF (Common Test Report Format) report: a single JSON file conforming to the CTRF schema that can be consumed by any tool that understands CTRF (dashboards, CI integrations, AI agents, etc.) without requiring a TRX or JUnit XML parser.
- Cross-tool interoperability: same shape as outputs produced by other testing frameworks that adopt CTRF, so results from multiple test runs can be aggregated by a single consumer.
Enable the report via the --report-ctrf command line option. The report file name can be overridden with --report-ctrf-filename <name>.json.
Documentation
For comprehensive documentation, see https://aka.ms/testingplatform.
For the CTRF specification, see https://github.com/ctrf-io/ctrf.
Feedback & contributing
Microsoft.Testing.Platform is an open source project. Provide feedback or report issues in the microsoft/testfx GitHub repository.
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.