lundi 24 octobre 2016

FlakyTest doesn't go through setup/teardown upon failure

hope somebody can help me to understand why my Robotium android test doesn't re-run properly including setup/teardown while using FlakyTest. Sometimes some of my Robotium tests fail due to connection so my idea is to retry the same test 2-3 times however when using @FlakyTest it will not run through Teardown/Setup methods after failure so the second iteration starts where it was left in previously left with the failure. my setup/teardown should reload the AUT and clean preferences. Is there anything I am missing at this point or do I need to redesign my tests? Thanks

Aucun commentaire:

Enregistrer un commentaire