Skip to content

Comments

Add eval coverage#436

Open
cb341 wants to merge 1 commit intomainfrom
feature/eval-coverage
Open

Add eval coverage#436
cb341 wants to merge 1 commit intomainfrom
feature/eval-coverage

Conversation

@cb341
Copy link
Contributor

@cb341 cb341 commented Feb 13, 2026

Since a couple years time, simplecov supports eval coverage.

This allows us to also check for branch and line coverage within erb files.
Most importantly views html.erb. I propose we check the eval coverage in new applications by default.

Related PRs:

@cb341 cb341 self-assigned this Feb 13, 2026
@sislr sislr requested a review from coorasse February 13, 2026 13:54
Copy link
Member

@coorasse coorasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the last discussion, we should enable grouped coverage.

@cb341
Copy link
Contributor Author

cb341 commented Feb 19, 2026

@coorasse
From the last discussion, we should enable grouped coverage.

Why? I don't see how this relates to the app setup for eval coverage.
I'd enforce 100% line / code coverage regardless of source.

@cb341
Copy link
Contributor Author

cb341 commented Feb 19, 2026

The coverage groups would mainly be relevant in existing projects when we introduce eval.

@coorasse
Copy link
Member

I am a bit afraid of being too strict. But you are right! Let's see if that's fine also for others

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