-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Question:json report generation #252
Comments
Hi, If you mean Cucumber json results, they are available only at the reporter end. |
Sorry I didn't mention, I mean Cucumber json results. I would like if it is possible to not wait the end of all tests execution to get the report. This way project stakeholders can have first executed tests feedbacks more fast in their test management tool |
For now I'd suggest to try to use Playwright results for that task. |
Results are sent to Xray API (Jira plugin): https://docs.getxray.app/display/XRAY/Import+Execution+Results+-+REST#ImportExecutionResultsREST-CucumberJSONresultsMultipart |
The API accepts an array of items, where each item corresponds to a single feature, e.g.: [
{
"keyword": "Feature",
"name": "Feature 1",
// ...
},
{
"keyword": "Feature",
"name": "Feature 2",
// ...
}
] On the first glance, the granularity level is features. Or maybe it's possible to send a feature json with only some of the scenarios (in Anyway, currently in playwright-bdd it's not possible to stream parts of Cucumber json. But I agree this is useful feature to add. |
Yes it's possible to only send json corresponding to a single feature or even a single scenario (elements level), as long as the scheme is respected. |
Hello,
Is it possible with the json reporter to access the results datas after each scenario execution? Currently the json file is generated only at the end of all tests execution, I would like to have more granularity to send the results more frequently to my third party test management tool.
The text was updated successfully, but these errors were encountered: