public class EspressoInstrumentation extends GoogleInstrumentationTestRunner {
private CucumberInstrumentationHelper helper = new CucumberInstrumentationHelper(this);
@Override
public void onCreate(Bundle arguments) {
helper.onCreate(arguments);
super.onCreate(arguments);
}
@Override
public void onStart() {
helper.onStart();
}
}
I use that annotation
@CucumberOptions(format = {"pretty","html:/data/data/com.example.myapplication/report"},features = "features") public class CucumberActivitySteps extends ActivityInstrumentationTestCase2<MainActivity>
and expect to receive report with command
adb pull /data/data/com.example.myapplication cucumber-report-android
But there is no any files.
I should call some methods from runner on finish or something?
I use gradle.