Code Coverage?

15 views
Skip to first unread message

Kerby

unread,
Jul 6, 2025, 6:05:10 AMJul 6
to TeaVM

Has anyone had success integrating JaCoCo or Emma code coverage tools with TeaVM? I understand this isn't straightforward, given that TeaVM compiles Java Bytecode to JavaScript to run in a browser environment.

I came across an example of a similar integration done for GWT (another Java-to-JS compiler), using JaCoCo: https://github.com/errai/jacoco-gwt-maven-plugin

I'm curious—has anyone explored or achieved something similar with TeaVM?

Alexey Andreev

unread,
Jul 6, 2025, 7:13:22 AMJul 6
to te...@googlegroups.com
I never tried it and TeaVM does not provide integration with JaCoCo
out-of-the-box. But you can try to make this integration yourself.

Reply all
Reply to author
Forward
0 new messages