From 49983d33cc1a525edeedbc595a391646d7608d5c Mon Sep 17 00:00:00 2001 From: Damien Menanteau Date: Wed, 18 Jan 2023 09:39:04 +0100 Subject: [PATCH] [#200] Extend sonar.test.inclusion pattern to all kinds of test doubles --- sonar-project.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 452ec831..93859379 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -9,7 +9,7 @@ sonar.language=go sonar.sources=src sonar.inclusions=**/*.go sonar.tests=src -sonar.test.inclusions=**/*_test.go,**/*_test_data_builder.go,**/*_test_fake.go,**/*_test_util.go +sonar.test.inclusions=**/*_test.go,**/*_test_data_builder.go,**/*_test_double.go,**/*_test_dummy.go,**/*_test_stub.go,**/*_test_spy.go,**/*_test_mock.go,**/*_test_fake.go,**/*_test_util.go sonar.exclusions=**/testdata/** sonar.go.coverage.reportPaths=**/coverage-sonar.out # Encoding of the source code. Default is default system encoding