Skip to content

Formatter#scenario#getTags() method does not returns tags specified at Examples level #1327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mrunalgosar opened this issue Mar 3, 2018 · 3 comments

Comments

@mrunalgosar
Copy link

Summary

Formatter#scenario#getTags() method does not returns tags specified at Examples level

Expected Behavior

Gherkin Formatter#scenario#getTags() should also return tags specified at the example level.

Current Behavior

Currently it only returns tags specified at the Scenario or Feature level.

Steps to Reproduce (for bugs)

Assume below Examples table:

@ex1
    Examples: Mobile
      | item   |
      | iphone |

  @ex2
    Examples: Firm
      | item    |
      | samsung |

In the above example table user has tagged to multiple examples table.
Here when we run our test with a custom Formatter then no method exposes this tags.

Context & Motivation

I am trying to implement a custom Reporter but the example level tags information is not available.

Your Environment

  • Version used: 1.2.5
  • Operating System and version: windows 7
  • Link to your project: N/A
@mlvandijk
Copy link
Member

Might be similar/related to: #849
Could you please try with v2.0.0 or up? (We're currently at 2.3.1)

@brasmusson
Copy link
Contributor

Duplicate of #648, #686 and #849. This is fixed in Cucumber-JVM v2.x.x.

@lock
Copy link

lock bot commented Mar 4, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants