Skip to main content
net8.0.NETStandard2.0

Sonarqube test logger for vstest platform

Published
Jul 31, 2024
2y ago
Total Downloads
789
789

Install

dotnet add package Maurosoft.SonarqubeTestLogger --version 1.0.0
ProductVersions
.NET
net8.0
.NET Standard
netstandard2.0

README

Sonarqube Test Logger

Sonarqube xml report extension for Visual Studio Test Platform.

NuGet Downloads

Packages

Logger Stable Package
SonarQube NuGet

Usage

The Sonarqube Test Logger generates xml reports in the Generic test execution report format.

To use the logger, follow these steps:

  1. Add a reference to the Sonarqube Test Logger nuget package in test project

    
    
    1. Use the following command line in tests
    dotnet test --logger:sonarqube
    
  2. Test results are generated in the TestResults directory relative to the test.csproj

A path for the report file can be specified as follows:

dotnet test --logger:"sonarqube;LogFilePath=test-result.xml"

test-result.xml will be generated in the same directory as test.csproj.

Note: the arguments to --logger should be in quotes since ; is treated as a command delimiter in shell.

License

MIT

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.