[TIP] branch coverage for ternary/guard/default
jasonkeene at gmail.com
Fri May 25 15:31:43 PDT 2012
Is there a tool that can do branch coverage testing of
ternary/guard/default expressions. Eg:
'happy path' if mostly_true() else 1/0
mostly_true() or 1/0
mostly_false() and 1/0
So if the test suite doesn't hit the 1/0's then it will indicate partial
coverage. I'm new to branch coverage testing and testing python in general
so sorry if this is a newb question.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python