You need to sign in to do that
Don't have an account?
code coverage in else
else if line is getting covered and is shown in blue/green, but the next two lines are in red. How to get that covered?
} else if ((checkedSummaryPlanIds == totalSummaryPlanIds) && (planIdMatch == false)) { skippedRecords += ddRecs.Plan_id__c + ' - ' + ddRecs.account_name__c + '\n'; // concatinated list of skipped records plan ids totalSkippedCtr++; }
Add you test data in sych way that else if conditions evaluates to be true.
Thanks!