Skip to content

Map Requirement Tag to Testcase Property #92

@timgrohmann

Description

@timgrohmann

🤔 What's the problem you're trying to solve?

When trying to import JUnit Reports generated by this formatter into XRay, there is currently no way to link the JUnit Testcases with JIRA Requirements automatically due to lack of support for setting custom properties on a entry in the report.

✨ What's your proposed solution?

We should allow custom properties to be extracted from Cucumber tags.

See XRay documentation for supported XML examples. Maybe we could map all scenario tags following a naming scheme (e.g. @Req:PROJ-1234) to properties on the <testcase> object.

⛏ Have you considered any alternatives or workarounds?

As this library does not support adding any custom properties, no workaround is possible.

📚 Any additional context?

I'm happy to contribute if you are willing to add this as a library feature :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions