We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
I have discovered a case where an inline operation is not correctly detected by Kover.
Errors
This leads to errors in koverVerify if we exepct to have covered this code block.
koverVerify
Expected behavior
Inline operations should be detected just as non-inline operations are.
Reproducer
I will link a full reproducer project in a few minutes.
Environment
0.8.0-Beta
8.6
Kotlin/JVM
The text was updated successfully, but these errors were encountered:
Here is the reproducer: https://github.com/mgroth0/kover-573
To reproduce:
./gradlew test -i
hello test fun 1 hello test fun 1 lambda hello test fun 2 hello test fun 2 lambda
./gradlew koverVerify and observe it fails with Rule violated: lines covered percentage is 87.500000, but expected minimum is 100
./gradlew koverVerify
Rule violated: lines covered percentage is 87.500000, but expected minimum is 100
./gradlew koverHtmlReport and observe in the HTML report that the line of code println("hello test fun 2 lambda") was not detected to have executed.
./gradlew koverHtmlReport
println("hello test fun 2 lambda")
As the output from step 1 shows, however, the line definitely did execute.
Sorry, something went wrong.
Error reproduced when inline function, with a call to other inline functions inside, is used directly in the test
shanshin
No branches or pull requests
Describe the bug
I have discovered a case where an inline operation is not correctly detected by Kover.
Errors
This leads to errors in
koverVerify
if we exepct to have covered this code block.Expected behavior
Inline operations should be detected just as non-inline operations are.
Reproducer
I will link a full reproducer project in a few minutes.
Environment
0.8.0-Beta
8.6
Kotlin/JVM
The text was updated successfully, but these errors were encountered: