Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Cucumber reports for cucumber-android

This enables standard Cucumber reports using the 'format' parameter of
CucumberOptions. Reports will be stored on the device.
  • Loading branch information...
commit 9cf7f823b5e66caeb24fcfdbe22841b7f79e772c 1 parent b2b73e5
@friederbluemle friederbluemle authored
View
1  android/src/main/java/cucumber/api/android/CucumberInstrumentation.java
@@ -92,7 +92,6 @@ public void onStart() {
final List<CucumberFeature> cucumberFeatures = runtimeOptions.cucumberFeatures(resourceLoader);
final int numberOfTests = TestCaseCounter.countTestCasesOf(cucumberFeatures);
- runtimeOptions.getFormatters().clear();
runtimeOptions.getFormatters().add(new AndroidInstrumentationReporter(runtime, this, numberOfTests));
runtimeOptions.getFormatters().add(new AndroidLogcatReporter(TAG));
View
1  examples/android/cukeulator-test/libs/README.md
@@ -12,6 +12,7 @@ and the required jars will **automatically be downloaded.**
* cucumber-picocontainer (shouldn't be necessary)
* picocontainer-2.14.3 (shouldn't be necessary)
* gherkin-2.12.1 (shouldn't be necessary)
+* cucumber-html (only required for HTML reports)
* To download the release versions run `ant -f init.xml`.
Please sign in to comment.
Something went wrong with that request. Please try again.