Skip to content

Commit f08f5fa

Browse files
committed
feat: Test coverage & execution properties
For the following SonarScanner templates: - default - laravel
1 parent b29efa5 commit f08f5fa

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

sonarscanner-templates/default.properties

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sonar.login=
2020

2121
# Defaults to 'not provided'.
2222
# sonar.projectVersion=
23-
23+
2424
# Path is relative to the sonar-project.properties file. Defaults to .
2525
#sonar.sources=.
2626

@@ -29,6 +29,15 @@ sonar.login=
2929

3030
# Here you can exclude all directories that you don't want to analyse.
3131
#sonar.exclusions=
32-
32+
3333
# Encoding of the source code. Default is default system encoding.
34-
#sonar.sourceEncoding=UTF-8
34+
#sonar.sourceEncoding=UTF-8
35+
36+
# --- test coverage & execution properties ---
37+
38+
# Path to coverage report in the Generic Test Data format.
39+
#sonar.coverageReportPaths=
40+
41+
# Comma-delimited list of paths to execution reports in the
42+
# Generic Execution Data format.
43+
#sonar.testExecutionReportPaths=

sonarscanner-templates/laravel.properties

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,14 @@ sonar.sources=app,config,resources/views,routes,database
3131
#sonar.exclusions=vendor/**
3232

3333
# Encoding of the source code. Default is default system encoding.
34-
#sonar.sourceEncoding=UTF-8
34+
#sonar.sourceEncoding=UTF-8
35+
36+
# --- test coverage & execution properties ---
37+
38+
# Comma-delimited list of paths to Clover XML-format coverage report files.
39+
# Paths may be absolute or relative to project root.
40+
#sonar.php.coverage.reportPaths=
41+
42+
# Path to the PHPUnit unit test execution report file. Path may be absolute or
43+
# relative to project root.
44+
#sonar.php.tests.reportPath=

0 commit comments

Comments
 (0)