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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -