How to find what class was covered by a given test script from the Jacoco coverege report

72 views
Skip to first unread message

Veenavani Revanuru

unread,
Dec 3, 2017, 6:34:45 PM12/3/17
to JaCoCo and EclEmma Users
Hi,
I am basically looking at the mapping between the class coverage and the test script that covered that class.
Is there any parameter or any mechanism that can be used to find this.
Essentially my goal is to identify what tests are affecting which class files?

thanks

Evgeny Mandrikov

unread,
Dec 4, 2017, 7:24:47 AM12/4/17
to JaCoCo and EclEmma Users

Veenavani Revanuru

unread,
Dec 4, 2017, 1:26:13 PM12/4/17
to jac...@googlegroups.com
We are not using Junit to run the testsuite, using our own remote execution engine to execute the scripts in a testsuite.
Not sure in thic case what would be the option for us.

thanks

--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/o25KRR12D40/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/6c943cce-b654-4f4a-9ad5-3af54c6f8be6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Evgeny Mandrikov

unread,
Dec 4, 2017, 1:56:22 PM12/4/17
to JaCoCo and EclEmma Users
Principle described in the second link ( https://groups.google.com/d/msg/jacoco/Qs9P5cyt58s/gzsBAP8qBgAJ ) is generic and does not depend on JUnit: start a new coverage session each time new test starts and make sure that tests are not executed in parallel within one JVM. After that each coverage session will be representing coverage generated by each test.

Veenavani Revanuru

unread,
Dec 9, 2017, 2:53:19 PM12/9/17
to JaCoCo and EclEmma Users
so to get the aggregate coverage for all the tests, then is there a way to merge this individual reports?
My goal is to identify the coverage per test run and the class files it touches as i need to identify the  class files touched by the tests finally.
thanks


On Monday, December 4, 2017 at 10:56:22 AM UTC-8, Evgeny Mandrikov wrote:
Principle described in the second link ( https://groups.google.com/d/msg/jacoco/Qs9P5cyt58s/gzsBAP8qBgAJ ) is generic and does not depend on JUnit: start a new coverage session each time new test starts and make sure that tests are not executed in parallel within one JVM. After that each coverage session will be representing coverage generated by each test.

On Monday, December 4, 2017 at 7:26:13 PM UTC+1, Veenavani Revanuru wrote:
We are not using Junit to run the testsuite, using our own remote execution engine to execute the scripts in a testsuite.
Not sure in thic case what would be the option for us.

thanks
On Mon, Dec 4, 2017 at 4:24 AM, Evgeny Mandrikov <mand...@gmail.com> wrote:
Hi,

Please have a look at

On Monday, December 4, 2017 at 12:34:45 AM UTC+1, Veenavani Revanuru wrote:
Hi,
I am basically looking at the mapping between the class coverage and the test script that covered that class.
Is there any parameter or any mechanism that can be used to find this.
Essentially my goal is to identify what tests are affecting which class files?

thanks

--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/o25KRR12D40/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+un...@googlegroups.com.

Veenavani Revanuru

unread,
Apr 20, 2018, 6:56:23 PM4/20/18
to jac...@googlegroups.com
Hi ,
I am looking for sometime class files generated in the Application server (say WEblogic ) when a jspx, jsff files are run.
But the code coverage dump does not capture this files, can you let me know on why they are not recorded ? and is there nay way to capture those runtime class files by the JACOCO agent running in tcp server mode
thanks

--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/o25KRR12D40/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/597d1ff7-04a0-466a-8e99-0e4f1392be29%40googlegroups.com.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages