What is Canyon?
In a nutshell
Canyon is a JavaScript code coverage solution. Through a simple Babel plugin configuration, coverage uploading and real-time report generation can be achieved, solving the problem of difficulty in collecting code coverage in end-to-end testing for developers and QA engineers.

Ecosystem
| Project | Status | Description |
|---|---|---|
| babel-plugin-canyon | Babel plugin for detecting pipeline environment variables | |
| vite-plugin-canyon | Vite plugin for detecting pipeline environment variables | |
| uploader | Coverage reporter | |
| canyon-extension | Chrome plugin for manually reporting coverage data |
Architecture diagram
This diagram illustrates the architecture of Canyon and some components of its ecosystem:
- The Babel plugin completes code instrumentation in the CI/CD process.
- The project is released to the test environment. The user chooses UI automation or manual testing to trigger the instrumented code probe.
- The generated coverage data is reported to the Canyon server.
- The Canyon server consumes the data and combines the source code information provided by GitLab to generate a coverage report.
