Coverage from multiple machines

View: New views
2 Messages — Rating Filter:   Alert me  

Coverage from multiple machines

by Rob Heiser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  We'd like to measure coverage numbers from multiple machines. Our test suites take quite awhile to run, so they're spread over multiple test beds. If I can guarantee the environments are identical, can I run the tests then merge the cobertura.ser files with no issues?  The classes are all from the same source version, and are located on the same absolute path within each machine.
 
  Also, when running a coverage report, do the class files have to be available at the same location in the file system for the report to work, or is all of the needed information stored in the cobertura.ser file? I'd like to have a number of people responsible for running test suites, then have them send their cobertura.ser files to me so that I can merge them into an uber-report. The current testbeds would be linux machines, and the machine that I merge and produce the reports is a Windows machine. Does it sound workable?
 
--
Rob

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cobertura-devel mailing list
Cobertura-devel@...
https://lists.sourceforge.net/lists/listinfo/cobertura-devel

Re: Coverage from multiple machines

by Jayan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Rob Heiser wrote:
  Also, when running a coverage report, do the class files have to be available at the same location in the file system for the report to work, or is all of the needed information stored in the cobertura.ser file? I'd like to have a number of people responsible for running test suites, then have them send their cobertura.ser files to me so that I can merge them into an uber-report. The current testbeds would be linux machines, and the machine that I merge and produce the reports is a Windows machine. Does it sound workable?
--
Rob

------------------------------------------------------------------------------
Once instrumented classes are loaded, cobertura writes its coverage information.  You do not need the serialization file created by instrumentation.    All such generated a running the tests can be merged to the serialization file created by instrumentation.  

I do merge of 6000 files from 20 odd machines running unit tests, RFT tests etc. Works fine.

Have not tried with multiplatform(we are on windows). Should work, as serialization file is a java serialization file.

Thanks,
Jayan