Menu

Can I create a report for specific conditions

Developers
2009-08-24
2013-05-09
  • Sergey Zapadaev

    Sergey Zapadaev - 2009-08-24

    hi, All,

    i wanna to generate one coverage report for metadata and coverage files given for different version of sources.
    Let's try to explain my question in example:

    1. I have one version of sources, I compile them with Emma (as result I got metadata1 file), run tests (got coverage1 file)
    2. I have newer version of sources I compile them with Emma (got metadata2 file), run tests (got coverage2 file)

    Is it possible to get one coverage report for metadata1, metadata2, coverage1, coverage2

     
    • FRANCISCO CEBRIAN JUAREZ

      HI

      It's very easy.

      You can use the merge option.

      Example:

      1º  > java -cp emma.jar emma -in coverage1,ec,coverage2.ec
              (The result file is coverage.es)

      2º > java -cp emma.jar emma report -r html  -in coverage1,em,coverage2.em,coverage.es

       
    • Sergey Zapadaev

      Sergey Zapadaev - 2009-08-28

      Thank you for answer. I'll try it

       

Log in to post a comment.