Principle:Risingwavelabs Risingwave Test Coverage Assurance
| Knowledge Sources | |
|---|---|
| Domains | Testing, Quality_Assurance, CI_CD |
| Last Updated | 2026-02-09 07:00 GMT |
Overview
Test coverage analysis and enforcement for SQL Logic Tests (SLT), ensuring adequate test coverage across SQL features.
Description
Test Coverage Assurance provides tooling to analyze and enforce coverage of SQL features through SQL Logic Tests. It scans the SLT test suite to identify which SQL statements, functions, and features are exercised by existing tests, and flags gaps in coverage. This enables the team to prioritize test development for under-tested areas and ensures that new SQL features include adequate test coverage before release. The coverage checker integrates with the build system to provide automated coverage reporting.
Usage
Apply this principle when assessing test coverage for SQL features, adding new SLT tests, or enforcing coverage requirements in CI.