Skip to content

Commit d3972ad

Browse files
committed
chore: ignore acceptance_test and example folders from coverage
1 parent 867e4fa commit d3972ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sonar-project.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sonar.c.file.suffixes=.c,.h
1616
sonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp
1717

1818
sonar.sources=cucumber_cpp
19-
# sonar.exclusions=**/cucumber-cpp-example/**/*
19+
# sonar.exclusions=cucumber_cpp/acceptance_test/**/*,cucumber_cpp/example/**/*
2020

2121
sonar.tests=cucumber_cpp
2222
sonar.test.inclusions=**/test/*,**/test_doubles/*,**/test_helper/*
@@ -26,7 +26,7 @@ sonar.cfamily.threads=2
2626

2727
sonar.testExecutionReportPaths=execution.xml
2828
sonar.coverageReportPaths=coverage.xml
29-
# sonar.coverage.exclusions=**/ignorethis/**/*
29+
sonar.coverage.exclusions=cucumber_cpp/acceptance_test/**/*,cucumber_cpp/example/**/*
3030
sonar.cpd.exclusions=${env.SONAR_DUPLICATION_EXCLUSIONS}
3131

3232
# Project specific ignored rules

0 commit comments

Comments
 (0)