Sonarqube test logger for vstest platform
Install
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Sonarqube Test Logger
Sonarqube xml report extension for Visual Studio Test Platform.
Packages
| Logger | Stable Package |
|---|---|
| SonarQube |
Usage
The Sonarqube Test Logger generates xml reports in the Generic test execution report format.
To use the logger, follow these steps:
Add a reference to the Sonarqube Test Logger nuget package in test project
- Use the following command line in tests
dotnet test --logger:sonarqubeTest results are generated in the
TestResultsdirectory relative to thetest.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.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.