Browse Source

DOC-9: Temporarily adjust URL of generic test page in docs (#6131)

tags/9.6.0.59041
Peeter Piegaze 2 years ago
parent
commit
91042b91c6

+ 1
- 1
server/sonar-docs/src/pages/analysis/test-coverage/dotnet-test-coverage.md View File

@@ -20,7 +20,7 @@ SonarQube supports the following .NET test coverage tools:
Additionally, a generic coverage format is also supported if you wish to use an unsupported tool
(though you will have to convert its output to the generic format yourself).
In this section, we discuss the directly supported tools.
For information on the generic format, see [Generic Test Data](/analysis/test-coverage/generic-test/).
For information on the generic format, see [Generic Test Data](/analysis/generic-test/).


## Adding coverage to your build process

+ 4
- 4
server/sonar-docs/src/pages/analysis/test-coverage/generic-test.md View File

@@ -1,13 +1,13 @@
---
title: Generic Test Data
url: /analysis/test-coverage/generic-test/
url: /analysis/generic-test/
---

SonarQube supports generic formats for test coverage and test execution import.
If your coverage engines' native output formats aren't supported by SonarQube, simply covert them to these formats:
If the native output of your coverage tool is not supported by SonarQube, you will have to convert it to the following format:


## Generic Coverage
## Generic Test Coverage Report Format

Report paths should be passed in a comma-delimited list to:

@@ -71,7 +71,7 @@ It can have the following attributes:
* `coveredBranches` (optional): number of branches which are actually covered by tests


## Generic Execution
## Generic Test Execution Report Format

Report paths should be passed in a comma-delimited list to:


+ 1
- 1
server/sonar-docs/src/pages/analysis/test-coverage/java-test-coverage.md View File

@@ -10,7 +10,7 @@ Instead, you must set up a third-party tool to produce the report as part of you
You then need to configure your analysis to tell the SonarScanner where the report is located so that it can pick it up and send it to SonarQube, where it will be displayed on your project dashboard along with the other analysis metrics.

For Java projects, SonarQube directly supports the JaCoCo coverage tool
(see [Generic Test Data](/analysis/test-coverage/generic-test/) for information on integrating other coverage tools).
(see [Generic Test Data](/analysis/generic-test/) for information on integrating other coverage tools).


## Adjust your setup

+ 2
- 2
server/sonar-docs/src/pages/analysis/test-coverage/overview.md View File

@@ -30,7 +30,7 @@ Then, the SonarScanner, as part of its analysis process, will import those files

## Coverage support

SonarQube directly supports the import of coverage data in formats native to a variety of tools for a variety of languages. It also supports the import of a [generic format](/analysis/test-coverage/generic-test/) that can be used as a target for custom conversion of reports from tools that are not directly supported.
SonarQube directly supports the import of coverage data in formats native to a variety of tools for a variety of languages. It also supports the import of a [generic format](/analysis/generic-test/) that can be used as a target for custom conversion of reports from tools that are not directly supported.


### Detailed guides
@@ -47,7 +47,7 @@ Detailed guides for the following languages are provided in this section:

### Generic format

See [Generic Test Data](/analysis/test-coverage/generic-test/) for information on how the generic format works.
See [Generic Test Data](/analysis/generic-test/) for information on how the generic format works.


### Test coverage parameters

+ 1
- 1
server/sonar-docs/src/pages/analysis/test-coverage/test-coverage-parameters.md View File

@@ -28,7 +28,7 @@ Symbol | Meaning

### sonar.coverageReportPaths

Path to coverage report in the [Generic Test Data](/analysis/test-coverage/generic-test/) format.
Path to coverage report in the [Generic Test Data](/analysis/generic-test/) format.


## Apex

+ 1
- 1
server/sonar-docs/src/pages/analysis/test-coverage/test-execution-parameters.md View File

@@ -35,7 +35,7 @@ This differs from the case with test coverage reports, where pull requests are s

### sonar.testExecutionReportPaths

Comma-delimited list of paths to execution reports in the [Generic Test Data](/analysis/test-coverage/generic-test/) format.
Comma-delimited list of paths to execution reports in the [Generic Test Data](/analysis/generic-test/) format.


## C/C++/Objective-C

+ 1
- 1
server/sonar-docs/static/SonarQubeNavigationTree.json View File

@@ -60,7 +60,7 @@
"/analysis/test-coverage/python-test-coverage/",
"/analysis/test-coverage/php-test-coverage/",
"/analysis/test-coverage/c-family-test-coverage/",
"/analysis/test-coverage/generic-test/",
"/analysis/generic-test/",
"/analysis/test-coverage/test-coverage-parameters/",
"/analysis/test-coverage/test-execution-parameters/"
]

+ 1
- 1
server/sonar-docs/static/StaticNavigationTree.json View File

@@ -85,7 +85,7 @@
"/analysis/test-coverage/python-test-coverage/",
"/analysis/test-coverage/php-test-coverage/",
"/analysis/test-coverage/c-family-test-coverage/",
"/analysis/test-coverage/generic-test/",
"/analysis/generic-test/",
"/analysis/test-coverage/test-coverage-parameters/",
"/analysis/test-coverage/test-execution-parameters/"
]

Loading…
Cancel
Save