How do you derive code coverage from tests that straddle multiple services/repos?

Hello people!

I started a new job and am working to derive baseline quality metrics some of which involve gathering code coverage statistics. When bringing the work to my team two questions were surfaced:

  1. How do you derive code coverage reports for integration and e2e tests that exercise code in multiple repos/services?
  2. How do you orchestrate the code coverage tool when the test code is in a separate repo than the application code?

My answer was not adequate and because of that I thought I would open the question to this group. Here are some of the technologies I am working with in case that helps solve the problem

Technology
CircleCI, Github, AWS

Programming Languages
Ruby, Python, JS

Testing Frameworks
pytest
Cypress

Proposed code coverage tools
Python coverage.py
Ruby coverage.c
Javascript istanbul.js

2 Likes

Did you ever gather info on this? Iā€™m facing the same issue.

1 Like