coldbox-testing-coverage

Generate HTML, Cobertura, and SonarQube XML coverage reports for ColdBox and BoxLang tests.

1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ColdBox/skills --skill coldbox-testing-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coldbox-testing-coverage
Source: https://github.com/ColdBox/skills/tree/main/testbox/testing-coverage
Command: npx skills add https://github.com/ColdBox/skills --skill coldbox-testing-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams measure which parts of ColdBox and BoxLang applications are executed by automated tests, identify untested branches and functions, and integrate coverage reporting into CI pipelines to drive measurable test quality improvements.

Core Features & Use Cases

  • Coverage Types: Line, branch, and function coverage reporting to quantify test completeness.
  • TestBox & CommandBox Integration: Configure TestBox runners and CommandBox commands to generate HTML, Cobertura, and SonarQube XML reports.
  • CI Integration: Guidance for GitHub Actions and Codecov uploads so coverage becomes part of pull request validation.
  • Use Case: Run coverage in CI to produce Cobertura XML, upload to Codecov, and iteratively add tests for uncovered branches until coverage goals are met.

Quick Start

Run your project's tests with coverage enabled using your test runner and produce a Cobertura or HTML report for CI upload.

Frequently Asked Questions about coldbox-testing-coverage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate code coverage reports for ColdBox and BoxLang applications?

To generate code coverage reports for ColdBox and BoxLang applications, apply coverage analysis to TestBox and CommandBox test runners to produce HTML, Cobertura, and SonarQube XML outputs that quantify line, branch, and function coverage.

How do I integrate ColdBox test coverage into GitHub Actions and Codecov?

ColdBox test coverage integrates into GitHub Actions and Codecov by running TestBox in CI to produce a Cobertura XML report and uploading it to Codecov, making coverage validation part of your pull request workflow.

What types of test coverage can I track for ColdBox and BoxLang apps?

For ColdBox and BoxLang apps, you can track line, branch, and function coverage types to quantify test completeness and identify untested branches and functions within your automated test suite.

Can I exclude specific files or paths from ColdBox code coverage analysis?

Yes, ColdBox code coverage analysis supports path mappings with includes and excludes, allowing you to scope reporting so only relevant application code is measured while ignoring external dependencies or configuration files.

Does TestBox support SonarQube XML output for code coverage reporting?

TestBox supports SonarQube XML output for code coverage reporting alongside Cobertura and HTML formats, allowing you to import coverage data directly into SonarQube for continuous inspection of ColdBox and BoxLang applications.