0

Looking for a way to retrieve control flow information, such as local variables and their values and which instructions/branches were executed for the tested methods using JaCoCo (0.8.11). I am running it on IntelliJ with maven.

The only clue I found was specifying jacoco agent .jar file when executing tests, but even then it is unclear how exactly to use it. So I am looking for clarifications or any alternative solutions. Any advise is greatly appreciated.

2
  • blog.soebes.io/posts/2023/10/… That sounds like you need a debugger. That gives you information during the steps about values of variables etc. But JaCoCo will not give you such information... Commented Mar 29, 2024 at 16:13
  • Please provide enough code so others can better understand or reproduce the problem. Commented Apr 1, 2024 at 6:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.