Take the 2-minute tour ×



Considering short circuiting, what cases would I need?

EDIT: Sorry I put only a half of the expression

share|improve this question
add comment

4 Answers

up vote 1 down vote accepted

Short answer is yes.





share|improve this answer
add comment


  • a
  • Ae
  • AEB
  • AEbC
  • AEbcD
  • AEbcd


share|improve this answer
ratchet freak: that is what condition coverage is about..to test both outcomes of all conditions. –  user970696 Feb 23 '13 at 11:24
add comment



share|improve this answer
add comment

i think when both of (a,e) must be true and any one of b,c,d must be true so when any of a,e is false everything is false. when both a,e are true and any one of b,c,d must be true then result is false. if all b,c,d is false then the result is false.

share|improve this answer
Your answer could be strengthened by explicitly stating "You need test cases for _, _, _ conditions" after your logic explanation. –  GlenH7 Mar 1 '13 at 19:26
add comment

Your Answer


