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

Write testCaseId to *-result.json output files #373

Closed
delatrie opened this issue Aug 2, 2023 · 1 comment · Fixed by #395
Closed

Write testCaseId to *-result.json output files #373

delatrie opened this issue Aug 2, 2023 · 1 comment · Fixed by #395
Assignees
Labels
task:improvement Change that improves some user experience but can't be considered a new feature theme:core

Comments

@delatrie
Copy link
Contributor

delatrie commented Aug 2, 2023

Each *-result.json file should contain the testCaseId property with the following characteristics:

  1. The value persists across test runs.
  2. The value is unique for each test case.
  3. The value doesn't depend on test case parameters.

Motivation

The testCaseId property is used by Allure TestOps and next version of Allure Reporter (v3) to distinguish results related to the same test case. Without this property features like retries detection and reruns doesn't work properly.

@delatrie delatrie added theme:core task:improvement Change that improves some user experience but can't be considered a new feature labels Aug 2, 2023
@delatrie delatrie self-assigned this Aug 2, 2023
@delatrie delatrie linked a pull request Oct 12, 2023 that will close this issue
2 tasks
@delatrie
Copy link
Contributor Author

Done. Included in 2.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task:improvement Change that improves some user experience but can't be considered a new feature theme:core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant