Hey Remco,
We are still evaluating NCrunch. And I run into the same problem as listed below:
http://forum.ncrunch.net...ndition-is-covered.aspx
We also have in our code a lot of:
var x = hasXxx
? x1
: x2;
And the codecoverage says "Green" the first of the 3 rows. And no information about the 2 below it. Even if hasXxx is always true.
The best would of cource be 3 coloured dots. If that is not possible then a 'non green dot' would be nice. Better incomplete information than a 'false possitive' coverage indicator. Maybe that is possible?
You end that old topic with "This isn't to say it will never happen, and the value of such a feature is definitely clear - I'm just trying to be realistic about the odds :)".
You also say: "To be able to perform this with the added complexity of needing to break each line down into separate statements without impacting performance is a significant technical challenge with a very high price tag attached to it."
For me personally 50% slower and good indications would be an improvement. Cores are getting cheap!
Love to hear your thoughts!
Greets,
Pieter