Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By jashburn

Thread: Instrumenting the build for code coverage

  1. #1
    javauser1973 is offline Member
    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Default Instrumenting the build for code coverage

    I'm pretty new to Java world. What tool are you guys using for offline code coverage? I use emma for on the fly coverage and works well with unit tests. But we have bunch of integration tests that we run after deploying the build. How can I get the CC numbers for these tests? I need to get these ones and then merge with the numbers produced by unit tests. In the C#/C++ world, we used to have an instrumented build that we deployed and ran tests to get CC numbers. What do you suggest for Java? Do I need to instrument Java build to achieve this?

  2. #2
    jashburn is offline Senior Member
    Join Date
    Feb 2014
    Posts
    219
    Rep Power
    1

    Default Re: Instrumenting the build for code coverage

    You can use Emma for offline code coverage. With Emma you also instrument the compiled classes before packaging and deploying them. This (offline mode) is covered at 2.3.*Offline mode: separating instrumentation and execution.
    javauser1973 likes this.

  3. #3
    javauser1973 is offline Member
    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Default Re: Instrumenting the build for code coverage

    Thank you jashburn, that helped.

Similar Threads

  1. Replies: 3
    Last Post: 09-20-2012, 12:11 PM
  2. Coverage
    By Martin.Keprta in forum Eclipse
    Replies: 0
    Last Post: 07-26-2011, 02:08 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •