Can we use JaCoCo with automation testing frameworks like Qualitiasoft, UFT etc?

46 views
Skip to first unread message

Vijeta Sah

unread,
Jul 12, 2017, 1:29:41 PM7/12/17
to JaCoCo and EclEmma Users
Hi,

I am fairly new to code coverage tools and am looking for a way to determine code coverage when tests are run using automation frameworks like Selenium, UFT, Qualitiasoft etc. Does JaCoCo work for this? If So, is there a guide on how to implement this?

Thanks,
Vijeta

Evgeny Mandrikov

unread,
Jul 12, 2017, 2:26:42 PM7/12/17
to JaCoCo and EclEmma Users
Hi,


On Wednesday, July 12, 2017 at 7:29:41 PM UTC+2, Vijeta Sah wrote:
I am fairly new to code coverage tools and am looking for a way to determine code coverage when tests are run using automation frameworks like Selenium, UFT, Qualitiasoft etc. Does JaCoCo work for this?

JaCoCo is completely independent from any testing framework - measurement of execution of Java code is independent from the way it is executed.
 
If So, is there a guide on how to implement this?

Our official documentation available at http://www.jacoco.org/jacoco/index.html

In general in few words:
* start application with JaCoCo Java Agent to record its execution
* do some actions in application for example by execution of automated tests such as Selenium
* stop application
* generate report - it will contain information about which code was covered by performed actions

Exact details are heavily dependent on the way you automate this process. There are plenty of various examples in internet by keywords "JaCoCo", "Selenium", etc.

Hope this helps.

Regards,
Evgeny

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages