-
Notifications
You must be signed in to change notification settings - Fork 522
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
Add JUnit XML Report Output #326
Comments
Hi, The Junit report Beside this pr, we need to think about how Currently:
It could be usefull also to write in the man/doc if option use stdout or sdrerr (for instance, it's not clear if |
Not sure I follow. Each individual run of hurl with |
I think it would be better to be consistent with the existing options:
In JUnit format, there are:
A possible implementation for Hurl could be:
|
This is what my implementation does. |
Ok, that's very good. But, if I run:
The If I run again with another file:
The
With the current PR:
The But if I run again
The So the PR junit option is not consistent with existing option ( |
I see what you mean. As I understand it the average use case for JUnit reports would have these results replaced as I've currently implemented it, but I certainly agree with the consistency argument and I don't see any harm in implementing it as you & other(s) have suggested. I'll update the branch tonight. |
I think more of a Hurl file as the basic Testcase (rather than the Entry). An entry is used to group a request/response and is not directly related to a test. |
We might need to be more explicit between an output written to stdout and an output that is written an appendable "report" file. Currently we have:
The summary output is currently written to stderr, but it could be one of of the stdout output (#328). As we discussed, the Junit output is more like the report file. |
Sounds like |
We also need to give the filename.
|
We reviewed the options in #330. |
This is for discussion of #325.
I added
--junit ${FILENAME}
for outputting test results in the JUnit XML format. I used thejson
flag name as I felt it was similar tohtml
.Are there any issues with doing it this way @fabricereix ?
The text was updated successfully, but these errors were encountered: