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
Class with constants #451
Comments
Hi, Unfortunately, when compiling, the constant is not stored in the class, so Kover cannot determine exactly how this object will be used - independently or as a scope for grouping constants. In this case, it is possible to exclude such classes from the report by name or using an annotation. |
@shanshin Fixed in agent version |
Fixed in Kover |
@BulatInDrive, thanks for the report! |
Reproduced for companion objects |
Closed in favour of #583 |
Why do you need to write tests for classes which contains only constants like
internal object TestObject { const val TEST_CONST = "test_const" }
The text was updated successfully, but these errors were encountered: