I’ve been facing issues while doing code coverage. There is an inconsistency in reflection of changes in the coverage folder. Even if the relevant code gets executed that change is not getting covered in the coverage folder.
The issues i’ve faced so far:-
1. The code coverage module considers statements as branches. So it's not possible to cover that by simulating relevant scenarios.
2. The code coverage module considers logs as branches.
3. When we simulate an event in local instance, The coverage is not not getting reflected even after the relevant code of that event is running properly.
Is there a fix for this ?