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: materialize: fuelFileReference FLMaterializer materializeFromFileNamed: fuelFileReference fullName. 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: header := FLMaterializer materializeHeaderFromFileNamed: 'FLBasicSerializationTest-testBitmap.fuel'. header additionalObjectAt: #VM. "this answers the vm string" header additionalObjectAt: #Image. header additionalObjectAt: #Timestamp. so you can just take that and print it in the UI :) So...if you think this is useful then I can: 1) create an issue to integrate new version of fuel ( you can find this new code in ss3 last commits). 2) create an issue to integrate new HDTestReport ( I attach here the new version.) 3) add anything else apart from vm, image and timestamp that you feel that would be a good idea. Cheers, On Wed, Jul 25, 2012 at 6:16 PM, Camillo Bruni <[email protected]>wrote: > nice++ > > On 2012-07-25, at 17:44, Mariano Martinez Peck wrote: > > > Thanks Sean!!! THIS IS AWESOME. > > I was trying to do exactly that yesterday, but I failed. > > I like TestsReviver rather than TestsMedic, but that's a detail :) > > > > On Wed, Jul 25, 2012 at 5:31 PM, Sean P. DeNigris <[email protected] > >wrote: > > > >> Here (on Nabble) is a screenshot of the browser and a test failure > context > >> materialized by clicking "Debug"... > >> > >> > >> > http://forum.world.st/file/n4641533/Screen_Shot_2012-07-25_at_11.22.08_AM.png > >> > >> > >> > >> -- > >> View this message in context: > >> http://forum.world.st/ENH-Test-Failure-Browser-tp4641525p4641533.html > >> Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > >> > >> > > > > > > -- > > Mariano > > http://marianopeck.wordpress.com > > > -- Mariano http://marianopeck.wordpress.com
HDTestReport.st
Description: Binary data
