jenkinsci / cucumber-reports-plugin

Jenkins plugin to generate cucumber-jvm reports
https://plugins.jenkins.io/cucumber-reports/
GNU Lesser General Public License v2.1
210 stars 232 forks source link

cucumber ruby support #56

Closed cartoloupe closed 8 years ago

cartoloupe commented 8 years ago

I noticed these two issues are closed:

From what I can tell, they are duplicates, and address JSON parsing for cucumber-ruby based JSON files. I am currently running into what seems like the same error trace. The issues are closed, but, I can't tell if the problem has been resolved.

I am running cucumber-jvm-reports plugin v2.3.0, and am seeing an error like this:

net.masterthought.cucumber.ValidationException: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 340 path $[0].elements[0].before[0].match.location
    at net.masterthought.cucumber.ReportParser.parseJsonResults(ReportParser.java:41)

Is 2.3.0 expected to parse cucumber results from ruby? If so, might I be observing a new error?

damianszczepanik commented 8 years ago

Check with new version that has been already released and if still not working, attach JSON file

damianszczepanik commented 8 years ago

Looks like the problem is solved