Samhammer.net9.TrxToHtml
1.0.10
dotnet tool install --global Samhammer.net9.TrxToHtml --version 1.0.10
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Samhammer.net9.TrxToHtml --version 1.0.10
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Samhammer.net9.TrxToHtml&version=1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Samhammer.net9.TrxToHtml --version 1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TrxToHtml
A tool to convert .trx test results files into clean HTML reports.
Note: This project is a fork of SamhammerAG/TrxToHtml, updated for .NET 9 compatibility.
Version 1.0.10 Update
Changes
- Configure Scriban with unlimited loop iterations by setting TemplateContext.LoopLimit = 0 to support large TRX files (>1000 results). See related discussion in Scriban issue #550.
- Make totals aggregation in the template null-safe to handle missing ResultSummary/Counters.
Bug Fixes
- Fixed "Exceeding number of iteration limit
1000for loop statement" when processing big result sets like smoke-tests.trx.
Version 1.0.9 Update
Changes
- Upgraded to .NET 9.0 to ensure compatibility with GitHub Actions runners
- Updated NuGet packages to their latest versions:
- Scriban 6.2.1
- CommandLineParser 2.9.1
- Microsoft.Extensions.FileProviders.Embedded 9.0.4
Bug Fixes
- Resolved template parsing issues introduced by the newer Scriban version
Note
The core functionality remains unchanged.
This update focuses on framework and package upgrades to maintain compatibility with the latest .NET version and GitHub Actions runners.
Installation
dotnet tool install -g Samhammer.net9.TrxToHtml
Usage
trx-to-html-net9 [options]
Options
-s, --searchPattern— Search pattern to scan for.trxfiles (default:"*.trx")-n, --outputFileName— Name of the output HTML file (default:"TestResults.html")-o, --outputDirectory— Target directory for the output HTML file (default:".")-w, --workingDirectory— Directory to recursively scan for.trxfiles (default:".")-t, --templateFile— Path to a custom template file used for generating the HTML-a, --all— Process all matching.trxfiles; if omitted, only the latest.trxfile per folder is processed
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.