Job Detail "failures" tab test failure functionality #9599
chadlwilson
started this conversation in
Development
Replies: 1 comment 5 replies
-
Yes, I think it was Ketan's intention to remove it completely, but maybe it was derailed in between. Maybe the whole tab should be removed, along with the documentation. Without a plugin-like architecture there, just depending on xUnit reports wasn't working well, with newer test frameworks not adhering to the admittedly outdated format. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all - anyone have any context of the status of the job detail test failures tab?
Based on #9578, plus the WTF accidentally left behind below:
gocd/server/src/main/java/com/thoughtworks/go/server/presentation/models/JobDetailPresentationModel.java
Lines 157 to 160 in 3e94821
and
gocd/server/src/main/webapp/WEB-INF/vm/build_detail/_failures.vm
Lines 17 to 40 in 5516e90
It looks like it was always consider every job to have
hasFailedTests = false
so the ability to show test failures on this tab appears to have been removed since19.10
(based on this commit)? Am I missing something - was there some intention to remove this functionality?The code used to do
...however the comment on 35d1f5e seems to imply intention to remove this functionality, citing better tools to do this kind of thing (which personally I generally agree with, in terms of using a tool to generate an HTML report).
In which case, it seems there is still a bit of tidy up to be done in the code, and docs such as https://docs.gocd.org/current/faq/dev_understand_why_build_broken.html which are misleading now.
If so, what should be removed? What is the remaining intent of the "Failures" tab? Currently it looks like it doesn't have much purpose left behind as it appears to
Beta Was this translation helpful? Give feedback.
All reactions