Skip to content
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

Allure can't generate result for too long scenario name #173

Closed
1 of 3 tasks
eskignax opened this issue Dec 18, 2017 · 0 comments · Fixed by #270
Closed
1 of 3 tasks

Allure can't generate result for too long scenario name #173

eskignax opened this issue Dec 18, 2017 · 0 comments · Fixed by #270
Labels
theme:cucumber-jvm CucumberJVM related issue type:bug Something isn't working work:backlog No work on this issue at the moment

Comments

@eskignax
Copy link

eskignax commented Dec 18, 2017

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

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:

Allure version 2.4.1
Test framework cucumber jvm
Allure integration [email protected]
Generate report using [email protected]

Other information

@baev baev added type:bug Something isn't working work:backlog No work on this issue at the moment theme:cucumber-jvm CucumberJVM related issue labels Nov 12, 2018
@baev baev closed this as completed in #270 Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:cucumber-jvm CucumberJVM related issue type:bug Something isn't working work:backlog No work on this issue at the moment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants