Hi Josh, There’s no results at all in that json file – so the plugin won’t know if it ran ok or failed.
I would ask on the cucumber mailing list why the ruby implantation is missing this vital information (unless I am missing something..) /James From: [email protected] [mailto:[email protected]] On Behalf Of Josh Lesch Sent: 13 February 2014 14:25 To: [email protected] Subject: Re: Failed to parse Cucumber JSON with Cucumber json test reporting plugin I am using the cucumber ruby implementation and its version 1.3.10. I am using an Scenario Outline with Examples. I am trying to switch to this reporting plugin because the other Cucumber Reports plugin can't handle Scenario Outlines right and always fails the build. Scenario Outline: Verify the footer links that open in a new modal Given I am on website When I click on the "<Footer Links>" link in the footer Then I should see a modal pop up Examples: |Footer Links | |Sign In | |Create an Account| |Free Shipping | [ { "keyword": "Feature", "name": "Footer", "line": 1, "description": "\nAs a customer\nI want to test the footer functionality\nSo I can verify that everything is working as expected", "id": "footer", "uri": "features\\footer.feature", "elements": [ { "keyword": "Scenario Outline", "name": "Verify the footer links that open in a new modal", "line": 59, "description": "", "id": "footer;verify-the-footer-links-that-open-in-a-new-modal", "type": "scenario_outline", "steps": [ { "keyword": "Given ", "name": "I am on website", "line": 60, "match": { "location": "features/step_definitions/account.rb:7" } }, { "keyword": "When ", "name": "I click on the \"<Footer Links>\" link in the footer", "line": 61, "match": { "arguments": [ { "offset": 16, "val": "Sign In" } ], "location": "features/step_definitions/footer.rb:1" } }, { "keyword": "Then ", "name": "I should see a modal pop up", "line": 62, "match": { "location": "features/step_definitions/footer.rb:30" } } ], "examples": [ { "keyword": "Examples", "name": "", "line": 64, "description": "", "id": "footer;verify-the-footer-links-that-open-in-a-new-modal;", "rows": [ { "cells": [ "Footer Links" ], "line": 65, "id": "footer;verify-the-footer-links-that-open-in-a-new-modal;;1" }, { "cells": [ "Sign In" ], "line": 66, "id": "footer;verify-the-footer-links-that-open-in-a-new-modal;;2" }, { "cells": [ "Create an Account" ], "line": 67, "id": "footer;verify-the-footer-links-that-open-in-a-new-modal;;3" }, { "cells": [ "Free Shipping" ], "line": 68, "id": "footer;verify-the-footer-links-that-open-in-a-new-modal;;4" } ] } ] } ] } ] On Wednesday, February 12, 2014 5:14:34 PM UTC-6, teilo wrote: Which cucumber implementation (eg cucumber-jvm) and version are you running the tests with? Can you put the offending Jason online somewhere? It sounds like you have a step that is missing a resuilt , they should all have even if the step not run. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
