Coverport Integration
Integrates the `coverport` tool into Go repositories to collect and upload end-to-end test coverage data to Codecov via Tekton pipelines.
The source repository doesn't declare a license. Check its terms before reusing the code.
Key features
- Adds a Go module dependency for `coverport` and creates the necessary initialization file.
- Updates GitHub Actions to apply appropriate flags for distinguishing unit vs. e2e test coverage in Codecov.
- Updates Tekton push pipelines to build and tag a separate instrumented image.
- Modifies Dockerfiles to conditionally build coverage-instrumented container images.
- Configures Tekton e2e test pipelines to run tests against the instrumented image and upload coverage data.
Use cases
- Adding end-to-end test coverage tracking to a Go project.
- Setting up coverage instrumentation for services running in a Tekton/Konflux CI environment.
- Uploading combined unit and e2e test coverage reports to Codecov for a holistic view.
FAQ
What capabilities does this skill provide?
The skill modifies Dockerfiles for instrumented builds, updates Tekton push pipelines to create coverage-enabled images, and configures e2e test pipelines to run tests against them and upload results. It also handles Go module dependencies and GitHub Actions flags.
When should I use this skill?
Use this skill when you need to set up end-to-end test coverage tracking for a Go project that uses Tekton for CI/CD. It's perfect for users wanting to visualize how much of their code is tested by their integration tests.
What does the Coverport Integration skill do?
This skill automates the integration of the `coverport` tool into Go repositories. It modifies Dockerfiles, updates Tekton pipelines, and adds Go dependencies to collect end-to-end test coverage data and upload it to Codecov.
How does this skill improve my development workflow?
It saves significant time and reduces configuration errors by automating a complex, multi-step process. This provides valuable insights into test effectiveness, helping you improve code quality and maintainability with minimal manual setup.
Related skills
Overnight Development
Automates overnight software development by enforcing a test-driven development (TDD) workflow with Git hooks.
Security Testing66512 ptsTesting Skills with Subagents
Applies a Test-Driven Development (TDD) cycle to create and bulletproof other Claude skills, ensuring they withstand pressure and resist rationalization.
Security Testing1112 ptsUnison Development
Writes, tests, and updates Unison code using a mandatory Test-Driven Development (TDD) workflow and specialized MCP tools.
Security Testing312 pts