I suggest you ...

Coverage on If statements

Ncrunch does not appear to check all conditions in an if statement for 100% coverage.
i.e. if (x || y) only requires that x is tested, not y.

22 votes
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Sam shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Roman commented  ·   ·  Flag as inappropriate

    NCrunch should indicate lines with partial coverage. For example have half the circle colored red and half green.

  • Anonymous commented  ·   ·  Flag as inappropriate

    Same goes for when the whole if condition is false (cases where the if block is not entered, even if there is no explicit else clause)

Feedback and Knowledge Base