Go "Failed Build History" page(i.e. "Tests" tab on the stage details page), displays test-failure details grouped by pipeline instance and sub-grouped by jobs. However, this leads to repeatition when the same test runs on more than one job. For instance, in a setup where tests are run in different environments(GNU/Linux, Mac, Windows etc) using one(or more) jobs per environment, or when using TLB(http://test-load-balancer.github.com) to load balance tests across jobs, this grouping displays all "test-case + job + pipeline-instance" combinations as distinct entries. While grouping is useful and helps developers pin-point environment specific issues, it also makes it a bit difficult to guage the actual number of failures and makes it hard for the user to come up with a unique list of tests that need to be fixed.
Better FBH(a browser extension) can be installed onto either Firefox or Chromium/Google-Chrome to have an all-failing-test list rendered on the failed build history page. This plugin is a Go UI enhancement that munges the data on FBH page to come up with a list of failing tests and links them to the respective job-detail pages. Firefox users will need to install an extension called Greasemonkey before they click the link to install Better FBH. Chromium/Google-Chrome users just need to click the link. The plugin displays aggregated list in the right hand side column on FBH page(check the attached screenshot).
Source is available at: https://gist.github.com/909586
PS: IE has grease monkey equivallent too, but we haven't tested with it.
Image
Comments
2 comments
I tested the script with IE and it works well !!
I installed Trixie (http://www.bhelpuri.net/Trixie/default.htm) on IE to be able to use this script.
Cheers
Shilpa
Applied a minor style fix: https://gist.github.com/1050589
Click here to install the script
Please sign in to leave a comment.