-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests fail after kover is added to project #730
Labels
Comments
josemssilva
added
Bug
Bug issue type
S: untriaged
Status: issue reported but unprocessed
labels
Jan 29, 2025
Hi, Don't you have a small production project? Due to this error, it is difficult to understand which instrumentation class is causing the error. |
shanshin
added
S: waiting for clarification
Status: additional information required to proceed
and removed
S: untriaged
Status: issue reported but unprocessed
labels
Feb 4, 2025
Full stacktrace:
It's really odd, because it only fails when running via CLI. Also, when doing sequential tests it only fails the first run (then it fails again after a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
After adding
kover
to the project, unit tests started failing for unexpected reasons. The issue seems related toMockK
, however it isn't clear what is causing it, and it only happens oncekover
is integrated.Errors
Expected behavior
Tests shouldn't fail, as it was happening prior to introducing
kover
.Reproducer
Only happens in test classes, when
unmockkAll()
is called.Reports
Environment
The text was updated successfully, but these errors were encountered: