channel iterator partially covered [1 of 2 branches] kotlin
I have written a custom SQS consumer wherein :
One coroutine that periodically retrieves the messages
Multiple workers that process the receiving messages in parallel without blocking.
A channel to communicate between the MsgReceiver coroutine and the Workers.
However, when writing unit tests I am unable to achieve 100% test coverage kover or with sonar. The kover/sonar plugin complains about partially covered while loop [highlighted in yellow] and I cannot understand which scenario have I...