Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
The Cucumber json test reporting plugin does not parse the scenario to html when the result-type is pending. Please see the attached example report.
Exception: java.lang.IllegalArgumentException: No enum constant org.jenkinsci.plugins.cucumber.jsontestsupport.ScenarioToHTML.RESULT_TYPE.at java.lang.Enum.valueOf(Enum.java:236)
Cucumber json test reporting version 0.5.2
Jenkins version 1.574
Code changed in jenkins
User: James Nord
Path:
src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberUtils.java
src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioToHTML.java
http://jenkins-ci.org/commit/cucumber-testresult-plugin/4cc56b6381a172ad4de0b14325a1b708e907d55b
Log:
JENKINS-24061quick fix to not crash on pending steps.This prevents the crash for any pending steps, however pending scenarious/steps should
somehow be flagged (perhaps marked as skipped in the overview?).
This needs to be investigated and fixed properly - but for now do not fall over.