trx-to-vsplaylist 1.1.0

dotnet tool install --global trx-to-vsplaylist --version 1.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local trx-to-vsplaylist --version 1.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=trx-to-vsplaylist&version=1.1.0
                    
nuke :add-package trx-to-vsplaylist --version 1.1.0
                    

VSTestPlaylistTools.TrxToPlaylist

A command-line tool for converting TRX test result files into Visual Studio Test Playlist (V1) files. Supports filtering by test outcome and flexible output options.

Features

  • Convert .trx test result files to Visual Studio .playlist files (V1 format)
  • Filter included tests by outcome (e.g., Passed, Failed, Skipped, NotExecuted, etc.)
  • Specify output file path or use default naming
  • Simple, scriptable CLI interface

Arguments

  • <trx-file>: Path to the TRX file to convert (required)
  • --output, -o: Path to the output playlist file (optional). If not specified, the playlist will be saved in the same directory as the TRX file with the same name but .playlist extension.
  • --outcome, -f: Test outcomes to include (optional, repeatable). Accepts one or more of: Passed, Failed, Skipped, NotExecuted, etc.

Examples

Convert all tests from a TRX file:

-- convert results.trx

Convert only failed tests to a playlist:

-- convert results.trx --outcome Failed

Convert passed and failed tests, specifying output file:

-- convert results.trx --outcome Passed --outcome Failed --output my_playlist.playlist

or

-- convert results.trx --output my_playlist.playlist --outcome Passed Failed

Supported Test Outcomes

The following values are supported for the --outcome option (case-insensitive):

  • Passed
  • Failed
  • NotExecuted
  • Inconclusive
  • Timeout
  • Pending

License

MIT License. See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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.

Version Downloads Last Updated
1.1.0 12,022 6/24/2025
0.0.2 160 6/17/2025
0.0.2-alpha 293 6/13/2025
0.0.1-alpha 187 6/13/2025