Canyon

More accurate JavaScript coverage data collection

Canyon (pronounced /ˈkænjən/) enables JavaScript coverage collection and real-time report generation through simple Babel configuration, solving the challenge of coverage collection in end-to-end testing.

Features

Canyon is designed for JavaScript end-to-end test coverage collection with the following features:

Accurate and Efficient

Separate hit and map data, generate initial coverage data during compilation for accurate and efficient coverage data collection

SourceMap

Accurate source code coverage restoration

Build Tools

Coverage solutions for common build tools like next.js, vite, webpack

Automation Frameworks

Integration solutions for common UI automation frameworks

CI Providers

Compatible with common CI providers (Github Actions, GitLab Runner), detecting CI environment variables

Community

Canyon was created by travzhang. Follow @wr_zhang25 for project updates.

Join the GitHub Discussions!