-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
5
-
False
-
-
False
-
-
We can use Jacoco to measure the code coverage at runtime after running all the IQE tests.
The idea is:
- Download the Jacoco java agent
- Configure all our Java services (Quarkus and Spring Boot) to use this Jacoco Java agent
- Dump the coverage data from all the services and generate the report
This is meant to be done per ephemeral for now.
Presentation: https://drive.google.com/file/d/1iUgPf_Z6bZahIpCw-y2_b1aP_Zkp7SgB/view?usp=sharing
Acceptance Criteria
- Explain the team how it works in a presentation
- Write a playbook to see how this works locally
- Setup this in an ephemeral environment
Future scope:
After the team meeting, we need to discuss when to run this analysis since:
(1) ephemeral does not run alll the IQE tests, only in stage.
(2) we don't want to pollute stage with this java agent
Perhaps, one solution is to run the analysis in ephemeral environments + a weekly job to setup an ephemeral environment but configured to run all the IQE tests and then publish the coverage report somewhere.