From: Marc P. <mpo...@ic...> - 2010-07-02 16:09:10
|
John, > Why couldn’t you use the File.lastModified() time of the cobertura.ser > file? > Actually I'm playing around with a pattern in the name of the file for the time being ;-) > On another note, I am a little concerned that future releases of Cobertura > may change the structure of what is in the cobertura.ser file. It is more > likely that backwards compatibility with the XML report is maintained. > I thing I understand your concern; one possibility could be to use some sort of "generic" data structure containing some meta-information about the instrumentation "run"; for example, an optional instance of JAVA Properties. The content of these properties could be populated using some mechanism with the <cobertura-instrument> task. Then, using these meta-information, we can build new dimensions for reporting purpose; for example we could track code coverage rates according to the SVN revision number, time, etc... Thanks for your attention, _marc |