dotnet-trx2sonar-updated 1.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global dotnet-trx2sonar-updated --version 1.0.8
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 dotnet-trx2sonar-updated --version 1.0.8
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-trx2sonar-updated&version=1.0.8
nuke :add-package dotnet-trx2sonar-updated --version 1.0.8

dotnet-trx2sonar

Build .NET Core NuGet

Dotnet tool to convert Visual Studio TRX files to SonarCloud Generic Test Data - Generic Execution. More info about Generic Test Data here

Installation

Download and install the .NET Core 2.1, 3.1, 5 or 6 SDK. Once installed, run the following command:

dotnet tool install --global dotnet-trx2sonar-updated

If you already have a previous version of dotnet-trx2sonar installed, you can upgrade to the latest version using the following command:

dotnet tool update --global dotnet-trx2sonar-updated

Usage

Once the tool is installed, provide solution directory to scan for .trx files and output file.

dotnet-trx2sonar -d ./your-solution-directory -o ./your-solution-directory/SonarTestResults.xml

Parameters

  • --help -h -? Show the current help.
  • -d [string] Solution directory to parse (recursive).
  • -o [string] Output filename.
  • -a --absolute Use absolute path for the test file path.

Development

Launch in Debug by providing values to the required parameters in .vscode/launch.json settings.

"args": [  
    "-d", "C:/your-solution/",
    "-o", "C:/your-solution/SonarTestResults.xml",
]

Contribution

  • If you want to contribute to codes, create pull request
  • If you find any bugs or error, create an issue

License

This project is licensed under the MIT License

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 is compatible.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
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.0.11 5,553 4/18/2023
1.0.10 189 4/3/2023
1.0.9 233 4/3/2023
1.0.8 490 7/5/2022
1.0.7 219 7/5/2022
1.0.6-alpha.0.2 105 7/5/2022