Skip to content

Instantly share code, notes, and snippets.

@Mugurell
Mugurell / Cucumber.java
Created January 30, 2019 13:30 — forked from nbransby/Cucumber.java
testInstrumentationRunner (replacement for android.support.test.runner.AndroidJUnitRunner) and a org.junit.runner.Runner (replacement for cucumber.api.junit.Cucumber) that combines cucumber-android (2.40) and cucumber-junit (2.40) to run scenarios isolated in seperate processes via orchestrator 1.0.2
package cucumber.runtime.android;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.runner.Description;
import org.junit.runner.notification.RunNotifier;