Missing coverage for Kotlin suspend
functions calling reactor WebClient.ResponseSpec.awaitBody()
#1410
Labels
type: bug 🐛
Something isn't working
Steps to reproduce
mvn clean verify
mvn jacoco:report
Expected behaviour
Full test coverage for Kotlin
suspend
functions which are callingWebClient.awaitBody()
Actual behaviour
JaCoCo appears to mistakenly mark certain Kotlin
suspend
functions as not fully covered by tests, but only when they callWebClient.awaitBody()
. This sample shows this behaviour. When built and run withmvn verify
, the JaCoCo coverage report will show thatdoLocalWork()
is fully covered, butdoWebWork()
is not. The first line ofdoWebWork()
will show partial coverage.(In case of exceptions provide FULL STACKTRACE)
The text was updated successfully, but these errors were encountered: