This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Add content to xUnit reporter #2
Labels
Comments
obsolete |
Hey, sorry for bumping this old thread. I just want to understand why this is marked as obsolete. Is there a possibility to access <system-out...> or any other best practice how to embed screenshots in JUnit Reports or links? Thank you |
@christian-bromann Can you please give an update to this? Why has this ticket been closed? |
I guess the biggest blocker right now the wdio-junit-reporter's depedency, the junit-report-builder. Recently they added support for attachments but still you cannot add any kind of metadata. |
Happy to review PRs, I don't have the capacity working on this as I am busy getting the new v5 out |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
proposed by @SchwaFa webdriverio/webdriverio#670
Is it somehow possible to add something to the xUnit report?
I'm trying to link the screenshots (which I take in the expectationResultHandler of Jasmine) in the test report in Jenkins.
Therefore, I found this nice little Jenkins Plugin:
https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Attachments+Plugin
It reads specific lines in the system-out section of the XML report to identify and add files to the Jenkins test result page.
But unfortunately, I can't just add such a line ("[[ATTACHMENT|/path/to/file]]") to the XML report and console.log ist not enough.
Where do the lines in the <system-out...> element come from? There are only webdriver logs in there. It would be nice to have the possibility to add everything that is printed using console.log().
The plain Jenkins JUnit test report is not that helpful without screenshots.
(Maybe a nice HTML reporter would also solve this ;) ).
The text was updated successfully, but these errors were encountered: