Logo
NeoArc Studio

Test Coverage Matrix Block

Track test coverage across components with unit, integration, E2E, and manual test counts plus line and branch coverage metrics.

The Test Coverage Matrix block provides a complete view of test coverage across system components. It tracks different test types (unit, integration, E2E, manual), line and branch coverage percentages, and highlights components that meet or miss coverage targets.

When to Use

Block Properties

PropertyRequiredDescription
NameYesCoverage matrix title
DescriptionNoScope and purpose
Project IDNoAssociated project identifier
Target CoverageNoMinimum acceptable coverage percentage
Coverage EntriesNoPer-component metrics
OwnerNoPerson or team responsible
Last UpdatedNoDate of last update

Coverage Entry Properties

PropertyRequiredDescription
Component NameYesModule or service name
Unit TestsNoCount of unit tests
Integration TestsNoCount of integration tests
E2E TestsNoCount of end-to-end tests
Manual TestsNoCount of manual test cases
Line CoverageNoPercentage of lines covered
Branch CoverageNoPercentage of branches covered
StatusNoCoverage health indicator
NotesNoAdditional context

Coverage Status

Example: Microservices Coverage

Test coverage tracking for a microservices architecture.

Example: Frontend Components

Coverage tracking for a component library.

Summary Statistics

The block automatically calculates:

Best Practices

PracticeDescription
Realistic TargetsSet realistic target coverage based on component criticality
Branch Coverage PriorityPrioritise branch coverage for complex business logic
Track All TypesTrack both automated and manual tests for complete picture
Regular UpdatesUpdate coverage metrics after each test run
Visual AssessmentUse status indicators for quick visual assessment
Document GapsAdd notes explaining coverage gaps or testing strategy
Trend AnalysisReview coverage trends over time, not just snapshots
Meaningful TestsFocus on meaningful tests over coverage percentages
Complexity ConsiderationConsider code complexity when setting targets