From c8683ffc825f59940f534913ae8b9cece30ea8e0 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Mon, 7 Jun 2021 15:34:48 -0500 Subject: [PATCH] DOC - Generic test execution reports don't support modules --- server/sonar-docs/src/pages/analysis/coverage.md | 2 +- server/sonar-docs/src/pages/analysis/generic-test.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-docs/src/pages/analysis/coverage.md b/server/sonar-docs/src/pages/analysis/coverage.md index 4da433917ff..3123e145dfa 100644 --- a/server/sonar-docs/src/pages/analysis/coverage.md +++ b/server/sonar-docs/src/pages/analysis/coverage.md @@ -53,7 +53,7 @@ Unless otherwise specified, these properties require values that are relative to Language|Property|Remarks ---|---|--- -**All**|`sonar.testExecutionReportPaths`|Comma-delimited list of paths to execution reports in the [Generic Execution Data](/analysis/generic-test/) format. +**All**|`sonar.testExecutionReportPaths`|Comma-delimited list of paths to execution reports in the [Generic Execution Data](/analysis/generic-test/) format. The paths must be relative to the project's base directory (root module). C / C++ / Objective-C|`sonar.cfamily.cppunit.reportsPath`|Path to the directory holding the [CPPUnit](http://sourceforge.net/projects/cppunit/) reports. Note that while measures such as the number of tests are displayed at project level, no drilldown is available. C#|`sonar.cs.vstest.reportsPaths`|Paths to VSTest reports. Multiple paths may be comma-delimited, or included via wildcards. Note that while measures such as the number of tests are displayed at project level, no drilldown is available. C#|`sonar.cs.nunit.reportsPaths`|Paths to NUnit execution reports. Multiple paths may be comma-delimited, or included via wildcards. Note that while measures such as the number of tests are displayed at project level, no drilldown is available. diff --git a/server/sonar-docs/src/pages/analysis/generic-test.md b/server/sonar-docs/src/pages/analysis/generic-test.md index b57f2691b89..525c2cc5c3a 100644 --- a/server/sonar-docs/src/pages/analysis/generic-test.md +++ b/server/sonar-docs/src/pages/analysis/generic-test.md @@ -82,7 +82,7 @@ The supported format looks like this: The root node should be named `testExecutions`. Its version attribute should be set to `1`. -Insert a `file` element for each test file. Its `path` attribute can be either absolute or relative to the root of the module. +Insert a `file` element for each test file. Its `path` attribute can be either absolute or relative to the project's base directory (root module). **Note** unlike for coverage reports, the files present in the report must be test file names, not source code files covered by tests. -- 2.39.5