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
Fixed adding data to an already existing binary report file
If the build cache is not used and the build directory is not cleared before the test run, then the coverage data from previous test runs are merged with the data from the recent run.
In this case, the report may include coverage from those tests that were removed in the latest version of the code.
To solve this, it is necessary to delete the binary report file before each run of the test task.
Fixes#489
PR #490
Copy file name to clipboardexpand all lines: kover-gradle-plugin/src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/cases/ReportsCachingTests.kt
Copy file name to clipboardexpand all lines: kover-gradle-plugin/src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/framework/checker/Checker.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -135,11 +135,11 @@ private class CheckerContextImpl(
Copy file name to clipboardexpand all lines: kover-gradle-plugin/src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/framework/checker/CheckerTypes.kt
Copy file name to clipboardexpand all lines: kover-gradle-plugin/src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/framework/configurator/BuildConfigurator.kt
+20-1
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,18 @@ internal data class TestFileEditStep(
Copy file name to clipboardexpand all lines: kover-gradle-plugin/src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/framework/configurator/ConfiguratorTypes.kt
Copy file name to clipboardexpand all lines: kover-gradle-plugin/src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/framework/runner/StepsRunner.kt
0 commit comments