Skip to content

Branch coverage & Explicit File Inclusion#856

Merged
byroot merged 2 commits into
ruby:masterfrom
robinetmiller:add-branch-coverage
Sep 18, 2025
Merged

Branch coverage & Explicit File Inclusion#856
byroot merged 2 commits into
ruby:masterfrom
robinetmiller:add-branch-coverage

Conversation

@robinetmiller
Copy link
Copy Markdown
Contributor

Adds branch test coverage when available; Truffle Ruby does not implement branch coverage yet.

Added a couple of comments to warn about common pitfalls using SimpleCov and to explain the oddity of seemingly starting coverage twice.

Also includes SimpleCov config to explicitly include all known files in order to prevent any files silently missed by relying on the implicit discovery system.

@robinetmiller robinetmiller changed the title Branch coverage & Explicilt File Inclusion Branch coverage & Explicit File Inclusion Sep 15, 2025
@byroot byroot force-pushed the add-branch-coverage branch from 25a92fd to f306bf1 Compare September 18, 2025 09:21
@byroot byroot force-pushed the add-branch-coverage branch from f306bf1 to 08b9eb0 Compare September 18, 2025 09:22
@byroot byroot merged commit d334dbf into ruby:master Sep 18, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants