From: John W. L. <Joh...@sa...> - 2010-06-29 20:37:36
|
That is an interesting idea. Wouldn't you have to flush the data using saveGlobalProjectData() as described in the FAQ before saving the ser file? It seems you also may want to keep a copy of the original ser file produced by the instrumentation and have the cobertura.ser file reset back to the original content after saving it. John -----Original Message----- From: Bennett, Jeffrey [mailto:JJB...@On...] Sent: Tuesday, June 29, 2010 4:31 PM To: John W. Lewis; unn...@ac...; cob...@li... Subject: RE: [Cobertura-devel] Cobertura Track the Junit that covers the code In setUp() or tearDown(), you could copy the .SER file off to a unique name. That would give you a .SER file per test which you could either look at individually for really granular stuff, or aggregate to yield coverage across the entire suite. -----Original Message----- From: John W. Lewis [mailto:Joh...@sa...] Sent: Tuesday, June 29, 2010 4:25 PM To: unn...@ac...; cob...@li... Subject: Re: [Cobertura-devel] Cobertura Track the Junit that covers the code Other than running the tests one by one - not really. -----Original Message----- From: unn...@ac... [mailto:unn...@ac...] Sent: Monday, June 28, 2010 8:20 AM To: cob...@li... Subject: [Cobertura-devel] Cobertura Track the Junit that covers the code Hi, I downloaded cobertura-1.9.4.1. Generated reports for my code base. However I am unable to track which junit test has caused the code to be marked as covered. Any way to know which junit is covering which code? Regards, Unni Louis Phone: +91-98451-57088 AIM: UnniLS This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |