This can be included in the Jenkins test images...
Browse or debug test failures serialized as fuel files.
The Jenkins test script could be enhanced to leave an instance open if there are test failures, so that you would have a dashboard to work from just by downloading and launching the image...
* Toggle button enabling (commented out right now, seems to be a bug in Spec - always passes nil to #whenSelectionChanged:
* I want the initial width to be big enough for the contents; it seems like that should be the default. For now, I hardcoded an initialExtent
* Layout: how do I specify a toolbar of buttons with static height and that the next row should take up the rest of the height, but not impinge on the toolbar?
Hi Sean. I have improved a couple of things in Fuel. Now you can:
a) attach additional objects to the object to serialize (useful for custom metadata) b) add pre and post materialization actions (clean closures)
Reviving failed unit tests is cool, but we still miss the OTHER information that is in a PharoDebug.log which is not the stack, that is, VM version, image version, timetamp, etc. So what I did in HDTestReport is to store all that info as "additional objects" to the serialization of the test failure.
Then, what I also did is to register a post materialization action that directly opens the debugger :)
So...TestMedic (anyway, I think TestReviver is much cooler) now just need to do:
And...what I want to do (but no time today) is to modify the UI so that when you select a test, on the right side you have a panel that displays the vm version, timestamp and image version of the failed test. To do that you can do:
So...I did it. With the latest Pharo update 20238 (with new Fuel version) and my latest commit HudsonBuildTools20-MarianoMartinezPeck.3 to CISupport, we have all what I mentioned here. So all you have to do is: