Allure can't generate result for too long scenario name #173
Labels
theme:cucumber-jvm
CucumberJVM related issue
type:bug
Something isn't working
work:backlog
No work on this issue at the moment
I'm submitting a ...
What is the current behavior?
Current behavior: To create the json file name in allure-results folder, allure use feature description and scenario name to generate it.
The problem it's longer than 254 character, the file will not be generated and the scenario will not appear in the result.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
On mac, create a scenario with a 254 character name. Run the test. No result in allure-result.
What is the expected behavior?
The scenario should appear in the report (or at least I should have some error message to know that scenario is ignored).
The first solution I am thinking of is to use a UUID on the scenario name instead of the feature/scenario name. It will also remove the issue with the '/' character.
What is the motivation / use case for changing the behavior?
We shouldn't have to worry about the length of the feature/scenario name.
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: