Automatic retry of failed test #372
Comments
I agree, I find that one of the tests fails about 10% of the time, but all work fine on a 2nd run. Even if the snapshot command itself returned a value (t=all tests ran successfully, f=at least one test failed) after running all tests, I could just re-run snapshot myself whenever any of the tests failed. |
+1 on this as well. Having major trouble getting through the entire test suite (all devices + all locales) without a single error. |
+1 |
+10000, the pre-1.0 snapshot did this and it was very useful |
+1 |
1 similar comment
+1 |
Just to clarify, |
Can it be configurable? On Mon, Feb 8, 2016 at 5:35 PM Felix Krause notifications@github.com
|
I really like the idea of retrying a failed test, because they are often On Monday, February 8, 2016, lilidotshi notifications@github.com wrote:
|
I really like the idea of retrying a failed test, because they are often On Monday, February 8, 2016, Felix Krause notifications@github.com wrote:
|
I just pushed #431, and yes, you can configure how many times |
👍👍👍 On Tuesday, February 9, 2016, Felix Krause notifications@github.com wrote:
|
Alright, new version is live: https://github.com/fastlane/snapshot/releases/tag/1.7.0 Please update and let me know how you like it 👍 |
awesome!! |
Thank you mister ;) |
Soooooooo nice! Thank you! On Thursday, February 11, 2016, vCrespoP notifications@github.com wrote:
|
100% success rate now with three retries.
|
Thanks everyone for confirming, I'm so happy this solves the issue 😃 |
This issue was migrated to fastlane/fastlane#2517. Please post all further comments there.
|
It would be nice to have a retry option for failed tests. Sometimes tests fail because of random simulator/UITest issues (network, UITest framework bugs, etc) and not issues with the code itself. If it happens even 1 in 200 times (which is likely given simulator * languages), the HTML doesn't get generated. It would be nice to specify retry x number of times, as often I've experienced that re-running the test succeeds.
The text was updated successfully, but these errors were encountered: