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

[Feature] Ability to add user data to the report #16

Open
alpha1592 opened this issue May 8, 2020 · 0 comments
Open

[Feature] Ability to add user data to the report #16

alpha1592 opened this issue May 8, 2020 · 0 comments

Comments

@alpha1592
Copy link

The Json report makes it possible to take the results of an execution, parse it and use it in various ways or create other types of reports. However, currently, this reports lacks the ability to add custom user data to the report. The use case for this would be something as follows.

  • Add custom Test Execution ID to the report
  • add context to the tests. For example,
    -- which system or service was being tested
    -- which user executed the test
    -- whether the test was manually executed, part of CI/CD or scheduled etc
    -- many others

One way to do this is to the use Gauge.message() in Java. However, this only works at the step level for the json-report. The HTML Report is able to show messages at the suite, scenario and step level.

The best outcome would be to be able to create your own key/Value data in the json directly.

JSON Report Snippet

	"projectName": "defects-example",
	"timestamp": "May 8, 2020 at 2:02pm",
	"successRate": 100,
        "myData" : "Some Value"
	"specResults": [
         ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant