I am testing an Android app using command like:
adb shell am instrument -w -e class net.mandaria.test.TippyTipperTest,net.mandaria.test.TippyTipperTest2,net.mandaria.test.TippyTipperTest3 http://ift.tt/2klT1kd
However, when one of the tests fails, the entire test execution stops. For example, if the first test "net.mandaria.test.TippyTipperTest" fails, I got this output:
net.mandaria.test.TippyTipperTest:INSTRUMENTATION_RESULT: shortMsg=junit.framework.AssertionFailedError
INSTRUMENTATION_RESULT: longMsg=junit.framework.AssertionFailedError: shows enter
INSTRUMENTATION_CODE: 0
My question is: how can I make it continue to run all the tests, even if the first one fails?
Aucun commentaire:
Enregistrer un commentaire