Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30598

Support "Around" like "Before" and "After"

    XMLWordPrintable

Details

    Description

      Perhaps I'm wrong here, but...

      When I did my first build parsing the cucumber.js's json output, i received the following error:

      {{ERROR: Step:

      {Around } name: {null} received before previous step: {Around }

      name:

      {null}

      handled! Maybe caused by broken JSON, see #JENKINS-21835}}

      I tried to grep the plugin source for "around" and didn't find anything of note, though there are plenty of mentions of "before" and "after."

      So, if this plugin doesn't recognize the "around" keyword, it would be nice if did much like "before" and "after"

      Attachments

        Issue Links

          Activity

            teilo James Nord added a comment -

            please attach the json you are trying to format.

            Also what tool are you using to produce the json and which version.

            Looking at the gherkin support for java there is no support for Around

            teilo James Nord added a comment - please attach the json you are trying to format. Also what tool are you using to produce the json and which version. Looking at the gherkin support for java there is no support for Around
            bricas Brian Cassidy added a comment - - edited

            We're running our test suite with the latest cucumber.js (version 0.9.2) under nodejs 4.x. I've attached an actual test run output using the json formatter.

            bricas Brian Cassidy added a comment - - edited We're running our test suite with the latest cucumber.js (version 0.9.2) under nodejs 4.x. I've attached an actual test run output using the json formatter.
            bricas Brian Cassidy added a comment -

            For what it's worth, as of version 0.10.0, cucumber.js no longer supports around hooks – so I no longer see an issue!

            However, it appears other implementations (Ruby, for eg.) still support that hook.

            bricas Brian Cassidy added a comment - For what it's worth, as of version 0.10.0, cucumber.js no longer supports around hooks – so I no longer see an issue! However, it appears other implementations (Ruby, for eg.) still support that hook.

            People

              teilo James Nord
              bricas Brian Cassidy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: