Skip to content

Commit 8ee7294

Browse files
committed
2474: Update test exclusions and add Kover instrumentation config
Removed outdated exclusion for test classes related to Magento actions. Added Kover instrumentation configuration to exclude Apache Velocity classes from coverage calculation, improving test coverage precision.
1 parent 77b3662 commit 8ee7294

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ tasks {
137137
}
138138

139139
test {
140-
exclude("com/magento/idea/magento2plugin/actions/**") //https://github.com/magento/magento2-phpstorm-plugin/issues/2474
141140
useJUnitPlatform()
142141
}
143142

@@ -239,3 +238,11 @@ fun getChangedFiles(): List<String> {
239238
// Return the list of touched files
240239
return files
241240
}
241+
242+
kover {
243+
currentProject {
244+
instrumentation {
245+
excludedClasses.add("org.apache.velocity.*")
246+
}
247+
}
248+
}

0 commit comments

Comments
 (0)