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

Reporting: Display Test Data in Allure Report #260

Open
12 tasks
wurzelkuchen opened this issue Jul 1, 2024 · 0 comments
Open
12 tasks

Reporting: Display Test Data in Allure Report #260

wurzelkuchen opened this issue Jul 1, 2024 · 0 comments
Assignees
Labels
codeImplementationNeeded This issue requires a change in the code of Neodymium docsNeeded The documenttion needs to be checked if there are changes needed and if so, adaptions should be made improvement

Comments

@wurzelkuchen
Copy link
Contributor

wurzelkuchen commented Jul 1, 2024

Quick Description

In our current report the used test data is somewhat hidden in different steps of each test. It would be great to have an overview for the used test data at each test.

User Story

As a report reviewer,
I want to be able to see all used test data of a test quickly at one place
so that I don't waste time looking for specifics of each test to reproduce it manually

Functional Requirements

Design:

  • Add a Container with the used Test Data to our allure Report
  • The container should contain all data used for this specific test
  • The container should be closed by default (optional)
  • The container should show a useful representation of the given Data

Code:

  • This feature should be able to be toggled via our configuration
  • The test data should be gathered from the @DataItem and all DataUtils.get() calls
  • The test data needs to provide a feature to add values at runtime (e.g. we inject random email addresses in different ways in different test suites. The person who writes those tests, needs to have an update method to add more test data)

Documentation Requirements

  • Document this feature in our test data section and include a screenshot of an allure report with the open test data view
  • Document the according property to disable this feature.
  • Document the possibility to add data at runtime

Test Requirements

  • Smoke Test the feature with all supported formats in an external test suite (e.g. neodymium example)
  • Write Unit Test checking if the data is handed over to the report
@wurzelkuchen wurzelkuchen changed the title Display Test Data in Allure Report Reporting: Display Test Data in Allure Report Jul 1, 2024
@wurzelkuchen wurzelkuchen added docsNeeded The documenttion needs to be checked if there are changes needed and if so, adaptions should be made codeImplementationNeeded This issue requires a change in the code of Neodymium improvement labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codeImplementationNeeded This issue requires a change in the code of Neodymium docsNeeded The documenttion needs to be checked if there are changes needed and if so, adaptions should be made improvement
Projects
None yet
Development

No branches or pull requests

2 participants