-
Notifications
You must be signed in to change notification settings - Fork 82
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
Show failed containers in JUnit XML report #1689 #1690
Show failed containers in JUnit XML report #1689 #1690
Conversation
....platform.releng/bundles/org.eclipse.test/src/org/eclipse/test/LegacyXmlResultFormatter.java
Show resolved
Hide resolved
....platform.releng/bundles/org.eclipse.test/src/org/eclipse/test/LegacyXmlResultFormatter.java
Show resolved
Hide resolved
@fedejeanne : I'm actually on vacation already, so I will be not able to revert this if that breaks the build. If that fixes eclipse-jdt/eclipse.jdt.ui#999, it is nice, but it can also break entire SDK reporting. So if you plan to merge it, be sure that you will be available on the next day to check SDK build results and if anything would break, make sure to fix it or revert this change. |
I'm actually going on holidays in like 5 minutes so I'd say we can wait to merge this :-) In fact I'm going to be on parental leave for 3 months so I'll only be checking my e-mails/notifications occasionally. I'd say we leave this PR open for a few days and see if someone has a big objection to it before merging it since I won't be able to react quickly to requested changes. Would that be ok for you? |
Congrats :)
Sure. Simeon will take over, he wanted to work next week. @trancexpress : could you please review & merge that on your next working day next week, and in case SDK test reports would be broken in some unexpected way, revert it again? This should fix the "wrong" error reported for JDT UI tests, see eclipse-jdt/eclipse.jdt.ui#999 . |
Thank you :)
Just to make sure we're on the same page: this PR will not get rid of the "error" shown in the report mentioned in eclipse-jdt/eclipse.jdt.ui#999, it will simply add one |
Change the LegacyXmlResultFormatter so it shows failed containers. Fixes eclipse-platform#1689
93d65c0
to
5e34cdd
Compare
Merging this, I'll monitor build results for a few days to see if we want to revert the change. Code-wise it looks fine. |
The JDT UI test error is now shown in the
The build results prior to merging this PR don't show this error (though there is an error listed, without any details): I'm not noticing anything else changed in the test reports for the latest build ( |
@trancexpress thank you very much for reviewing and merging! |
What id does
LegacyXmlResultFormatter
so it shows failed containers too (e.g. test classes)writeIfPresentInMap
and call it from 3 existing methodsFixes #1689
How to test
EclipseTestRunner
and run it<testcase>
node showing the failed test classErrorOnTearDownClass
, like this: