Skip to content

Instantly share code, notes, and snippets.

@patrickjh
patrickjh / CustomizedAndroidRunner.java
Last active April 2, 2023 21:08
Junit Retries annotation for Android
package whatever;
import android.app.Instrumentation;
import android.os.Bundle;
import android.support.test.internal.runner.junit4.AndroidJUnit4ClassRunner;
import android.support.test.internal.util.AndroidRunnerParams;
import org.junit.rules.TestRule;
import org.junit.runners.model.InitializationError;