Fergus Hewson
10/28/2024, 11:49 PMFergus Hewson
10/28/2024, 11:54 PMephemient
10/29/2024, 8:27 AMKlitos Kyriacou
10/29/2024, 11:07 AMrequire
. As long as both passing and failing requirements are tested, it gives me 100% coverage.
On the other hand, there are some inline functions in the Kotlin stdlib that always fail coverage checks:
val reader = someInputStream.bufferedReader()
This always results in 50% branch coverage and there is nothing you can do about it (apart from not using this function).