Introduction
In a nutshell
Canyon enables JavaScript coverage data collection and real-time report generation through simple Babel configuration, addressing the challenge of coverage collection in end-to-end testing.
Self-Host
For full data ownership and control over your coverage data and testing, you can self-host Canyon on your infrastructure.
Ecosystem
Project | Status | Description |
---|---|---|
babel-plugin-canyon | Babel plugin for detecting pipeline environment variables | |
canyon-uploader | Scans local .canyon_output data and reports to the server. | |
canyon-extension | Chrome plugin for manually reporting coverage data |
Architecture
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.