cucumber / cucumber/cucumber-cpp

Authorize hyphen "-" for Tag

Open
#312 4 comments 0 reactions 1 assignee Claimed by @ursfassler View on GitHub
bug
Dominant language
C++
Stars
330
Forks
140
PR merge metrics
No merged PRs in 30d

Description

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

Actually in version 2.5 of the library, it is not possible for a tag to have a hyphen (example: “@EX-1234”). The regex does not allow it.

### ✨ What's your proposed solution?

Modify the RegEx to allow to use hyphen in a tag

### ⛏ Have you considered any alternatives or workarounds?

Not for this case.

### 📚 Any additional context?

Integration between Jira Xray and pipeline gitlab-ci running cucumber tests.
When I pull all features files from Jira, each test is represented by a Jira ticket number in the following format: “SPACE-1234”, In the feature file, each test has its Jira ticket number as its “Tag.”

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.