A Docker image bundling kcov, bats, and jq for measuring bash/shell test coverage in CI pipelines.
4.1K
A Docker image bundling kcov, bats, and jq for measuring bash/shell test coverage in CI pipelines.
kcov is a coverage tool for languages with DWARF debug information support.
For bash scripts, it instruments code using Linux's ptrace(2) API to record
which lines are executed.
This image packages three tools together so CI pipelines can measure bash coverage without an inline image build step:
| Tool | Purpose |
|---|---|
kcov | Bash coverage via ptrace(2) with LCOV/JSON output |
bats | Bash Automated Testing System — the test runner |
jq | JSON processor for parsing kcov's coverage.json output |
See the GitHub repository for details.
Content type
Image
Digest
sha256:d86ba9634…
Size
17.9 MB
Last updated
3 months ago
docker pull 1121citrus/bats-kcov