You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add JaCoCo coverage execution to tsql-scriptdom-astgen module #27
Currently, jacoco-maven-plugin is only configured to run in tsql-scriptdom-core.
Because tsql-scriptdom-astgen does not execute JaCoCo, its tests (AstSchemaParserTest, AstCodeGeneratorTest) do not generate JaCoCo execution data. Consequently, SonarCloud reports 0.0% coverage for AstSchemaParser.java and other code in tsql-scriptdom-astgen, significantly pulling down overall repository coverage.
Proposed Changes
In tsql-scriptdom-astgen/pom.xml, add the jacoco-maven-plugin with prepare-agent and report goals (similar to tsql-scriptdom-core/pom.xml).
Update root pom.xmlsonar.coverage.jacoco.xmlReportPaths property to include all module reports (or a wildcard pattern, e.g. ${project.basedir}/**/target/site/jacoco/jacoco.xml).
Activity