Skip to content

Conversation

@lolgab
Copy link
Contributor

@lolgab lolgab commented Dec 15, 2025

This is useful together with scoverage/scalac-scoverage-plugin#742

When changing tests without recompiling the instrumented source code, the compiler plugin doesn't
know it should delete the measurements so new ones can be created.
This PR adds a task to manually delete the measurements before running tests.

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, LGTM

@tgodzik tgodzik merged commit 3bf76c1 into scoverage:main Dec 15, 2025
3 checks passed
@lolgab lolgab deleted the delete-measurements-task branch December 15, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants