Using JaCoCo to measure system test coverage

preview_player
Показать описание
In this video, I'll show how to use JaCoCo and its JVM agent to measure the coverage of our system tests, with a Quarkus application.

Рекомендации по теме
Комментарии
Автор

Hallo Sebatian! Just a hi from a developer! Thanks for your great videos! They are specialized videos

simopr
Автор

This really helped me out, Thanks a lot!

TenryuL
Автор

thanks, it was very important to understand the use of the agent. even dough I am not using maven but the java command directly, your video really helped me. Thanks

tobiasnickel
Автор

Hi Sebastian, Thank you for for this great video. I have integrated this with CICD and it generates the jacoco report as expected but it doesn't give line by line code coverage the way you have shown.
It says .jar file not found, do we need to pass anything extra when integrated with CICD?

sarveshpatil
Автор

Hi Sebastin, This is really good. But what if those UI Automation tests are written somewhere else and not coupled with your java-application? How you could calculate how much code coverage it is doing with UI-Automation for any microservice app?

onkarmundaye
Автор

Can you please share one example with gradle also

saanvimendiratta
Автор

How you have created jar of the web application, Could yuo please help or share git link of quarkus code and jar

ChaiSuttaClips
Автор

Great video it was very helpful, I just wanted to see how can we exclude few classes and methods which we don’t want to be the part of the jacoco report.

I tried excludes=/com/abc/xyz/class but somehow it still shows the output in result

sarveshpatil
Автор

Hello
Sebastian Daschner I notice that Jacoco.exec file is not getting created kindly help

roopeshraju
Автор

Hi,
Need one help!
How can i integrate with ci cd?

prasantkumarsamantaray
Автор

everything worked but i could not see the coverage in the report. any reason. started java -jar target/demo-1.0-SNAPSHOT.jar then executed some curl script then mvn \
\
then opened the index.html from site. it has red color only in the coverage report

premanandmuthiah