1 Reply Latest reply on Nov 2, 2009 11:01 AM by livnats

    code coverage

    livnats

      Hi,
      We have an application which is deployed on jboss 5.1, jdk 1.6.
      We also have scripts written in power-shell for testing. these scripts access the application using a web-service.
      I would like to check the code coverage of the scripts. Any ideas?
      Most of the tools i saw are checking a junit test coverage and i don't see how can we use them.

      thank you, Livnat.

        • 1. Re: code coverage
          livnats

          I found the answer thank you.
          For those of you who are interested there is a tool named Emma, you can use off-line instrumentation to instrument the application code (jars) and then drop them in the jboss deploy lib (in your ear/war), run the tests you want and then generate and read Emma report.

          FYI- the report is generated upon a jboss shut-down.

          http://emma.sourceforge.net/docs.html