Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium
New issue 993 by [email protected]: Provide a keyword to exit a test
case marking the test case as neither fail nor pass
http://code.google.com/p/robotframework/issues/detail?id=993
We currently have a few test cases where it would be handy to exit the test
case execution immediately leaving it neither failed nor successful.
The background is that we have tests on network interfaces, some operations
require that two nics under test live on the same subnet. Problem is that
we don't always have a hand on the nics themselves. This leads to our test
sometimes fail though the functionality is not at fault, but the context.
Now of course we can quickly see that in the logs but the reports shows
some statistics that are therefore wrong (a failed test though the UAT
wasn't faulty).
What we'd wish for is a way to exit a test based on a condition we would be
able to determine. But we don't want to test to be marked as fail nor pass
since it'd be neither.
In addition the reports could have a new row or column indicating the
number of test that were not determined.
I appreciate this goes probably against a lot behind RF (for instance I can
see a Fail keyword but no Pass one which I find sensible to avoid false
positives) but I feel it would be handy nonetheless.
Cheers.