Can we use JaCoCo to capture front end code coverage ?

40 views
Skip to first unread message

aviint...@gmail.com

unread,
Jan 28, 2019, 8:35:44 AM1/28/19
to JaCoCo and EclEmma Users
Please let me know if we can use JaCoCo to capture front end code coverage?
We are currently using it for Backend. Not sure about front end part.
Thanks!

Marc Hoffmann

unread,
Jan 28, 2019, 9:55:10 AM1/28/19
to jac...@googlegroups.com
What exactly do you mean by “frontend”? JaCoCo can capture code coverage for any application running on a Java VM.

Regards,
-marc
> --
> You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/6e952300-58e2-4586-befe-f8afbd187053%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

aviint...@gmail.com

unread,
Jan 29, 2019, 12:27:49 AM1/29/19
to JaCoCo and EclEmma Users

Thanks for your reply Marc!

By frontend, I mean HTML/UI elements. Can JaCoCo capture what % of UI elements are covered during our testing ?

Henrik Horneber

unread,
Jan 29, 2019, 8:52:58 AM1/29/19
to jac...@googlegroups.com
Jacoco measures coverage of Java code by instrumenting said java code.

Unless your system-under-test is a browser written in java or every parsing/reading/touching of the html/UI elements results in some java call, the answer is very likely no.

--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.

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


--
"I find many of the machines of violence very attractive. Tanks, airplanes, warships, especially aircraft carriers."
- 14th Dalai Lama
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages