Repository navigation
✨ Coverage: Bullseye beside gcov - #44
Merged
Merged
Conversation
…verage profile per plugin; coverageCommandArgs names the run's plugin as ${PLUGIN}
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… file reset with covclear; a Coverage profile per plugin; fixtures, a capture script, and a hand-run validation suite against a licensed Bullseye Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h gcov and Bullseye subpages; the how-to gains a Bullseye tab; Architecture, Changelog, Release Notes, Known Issues, and development docs cover Bullseye Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… resolved, as Bullseye's does on macOS beneath /var or /tmp, covers the files at the project's own paths Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nk-resolved directory return by way of the project's own path Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run with Coverage now works with Ceedling's Bullseye plugin as well as its gcov plugin. A project that enables either plugin gets a Coverage profile for it. A project that enables both gets one profile per plugin, labeled Coverage (gcov) and Coverage (Bullseye).
What changes for users
:bullseye:↳:xml_report: :cobertura. The extension reads<build>/artifacts/bullseye/coverage.xml.coverageResetsCounterson, the extension runscovclear -q --file test.covbefore a request's first Bullseye build, once per coverage file. That zeroes Bullseye's measurements and keeps its instrumentation, so the delta build doesn't recompile. If covclear fails, the run goes on and its coverage includes earlier runs'. A notice says so.coverageCommandArgsnow defaults to["${PLUGIN}:${TEST_ID}"]. The new${PLUGIN}token names the run's plugin. A deferred report runs asreport:<plugin>. A configured task naming the other plugin draws a warning.Commits
src/coveragePlugins.tsholds one table of coverage plugins, with gcov its only entry. Each plugin's tasks, reports, counter reset, and advice text come from that table.:environmentread from dumpconfig for covclear, fixtures captured from Bullseye 9.27.1, a capture script, and a hand-run validation suite.Testing
just test: unit and integration tests pass, including an integration test with both plugins that runs against a fake Ceedling and its covclear stand-in.just lint: clean.just docs-build: passes in strict mode.just coverage: every new file is 100% covered.just validate-bullseye, run by hand against a licensed Bullseye: no violations on Ceedling 1.2.0, 1.2.1, and 1.2.2. It is skipped on 1.1.10, which refuses the plugin.Bullseye's license can't live in an image or the repo, so the Bullseye suite stays out of CI and
validate-matrix. The committed fixtures have license numbers and the key redacted.Upstream
Ceedling#1385: with
:report_task: TRUE, the firstreport:bullseyeafter a clean includes the test files and the frameworks. This is listed in Known Issues.🤖 Generated with Claude Code