Page 1 of 1

Merging the results of different machines

Posted: 2009-01-28 12:00 pm
by Arun
I tried using this tool for my web application. Seems to be working pretty fine.
But what if 2 different people are working on the same application on different machines.

Is it possible to get the merged results out of those 2 (or may be more) machines in a single report?

Re: Merging the results of different machines

Posted: 2009-01-28 3:46 pm
by Ed
The jscoverage-server program can merge results from different test runs:
  • Run

    Code: Select all

    jscoverage-server --report-dir=DIR
    on a server machine. (This could be one of the two test machines, or it could be a third machine - the location of the server does not matter.)
  • Access the server using test machine 1. Run the tests. Store the report.
  • Access the server using test machine 2. Run the tests. Store the report.
The stored report in DIR would have the merged results from the two machines.