allure-framework / allure-framework/allure-csharp

Default format for gherkin tags

Open
#439 0 comments 0 reactions 0 assignees View on GitHub
task:improvement theme:specflow
Dominant language
C#
Stars
125
Forks
76
Avg merge
1d 2h
Merged PRs (30d)
18

Description

#### I'm submitting a ...
- [ ] bug report
- [x] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.

#### What is the current behavior?
If no allureConfig.json with tag patterns specified in it, all gherkin tags are converted to Allure tags.

#### What is the expected behavior?
We should provide reasonable defaults. For example, we might convert `allure.suite:My-suite` to the label `suite=My-suite`.

#### What is the motivation / use case for changing the behavior?
The motivation is to make the tags API of Allure SpecFlow usable without configuration.

#### Please tell us about your environment:

- Allure version: 2.1.0
- Test framework: testng@6.8
- Allure adaptor: allure-testng@2.0-BETA8
- Generate report using: allure-maven@2.18

#### Other information

That will be a breaking change. We might provide a feature switch in allureConfig.json for those who don't want default patterns for some reasons.

Contributor guide

Open the contributing guide

Research direction

Start by locating the SpecFlow Gherkin-tag conversion and the handling of allureConfig.json. Define and verify reasonable default tag patterns, including the suite example, while checking how a configuration switch could preserve existing behavior; done means tags convert as specified without configuration and the breaking-change behavior is documented or tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.