Test Coverage

An overview of how Kerno helps you track and improve test coverage

Kerno gives you a clear view of how well your project is covered by integration tests. The goal is to make it easy to understand what is tested, what is missing, and how each new test improves the overall quality of your system.

How Coverage Is Calculated

Kerno calculates coverage by counting how many endpoints have tests, counting the total number of detected endpoints, and dividing the first number by the second. The formula is:

Coverage = tested_endpoints ÷ total_endpoints

Coverage=TestedEndpoints÷TotalEndpointsX100Coverage = Tested Endpoints ÷ Total Endpoints X 100

Adding Coverage

When you add coverage to an endpoint, Kerno updates your project coverage score. This happens instantly after the test suite is created and run.

Each endpoint with tests contributes to the total progress of your project.

Test Coverage Indicators

The Kerno panel shows coverage directly beside each code file. This helps you spot which parts of the project already have scenarios and which ones still need attention.

Endpoint Indicators

Each endpoint listed in the panel has an icon that tells you whether it already has scenarios or still needs coverage.

= The endpoint already has tests

= The endpoint has no tests

These indicators let you scan the entire project quickly. You can tell at a glance which endpoints are complete and which ones still need attention.

If you encounter issues or have questions, message us on Slack, and we’ll gladly help.

Last updated