I think having a target threshold of 100% code coverage is unrealistic and incentivises writing tests purely for code coverage rather than testing behaviour, which will lead to more work and more maintenance. Tests here should focus on real statistical scenarios rather than unit testing everything to 100%.
I think having a target threshold of 100% code coverage is unrealistic and incentivises writing tests purely for code coverage rather than testing behaviour, which will lead to more work and more maintenance. Tests here should focus on real statistical scenarios rather than unit testing everything to 100%.