Android Studio - run same test case(s) several times in loop -


before submitting test cases, want make sure running stably. there way in android studio run same test case / class in loop several times?

annotate test @flakytest. see http://developer.android.com/reference/android/test/flakytest.html

for instance

@flakytest(tolerance = 3) public void mytest() {     // test fails no reason } 

update: see you're using espresso. then... no, not supported android-test-kit, unfortunately. here's feature request: https://code.google.com/p/android-test-kit/issues/detail?id=153


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -