maybe icon indicating copy to clipboard operation
maybe copied to clipboard

Feature: Add Test Coverage Generation

Open jemiluv8 opened this issue 9 months ago • 4 comments

Feature Overview

The current rake test command doesn't generate test coverage report. This can be useful especially for new features that require testing.

Requirements

  • [ ] Support generation of test coverage report when running tests

Implementation Suggestions

Probably integrate simplecov-ruby or similar compatible library for test coverage report generation

Designs

Not Applicable

Reminders

  • Make sure to review our contributing guidelines before starting on an issue
  • We do our best to define a clear spec for new features and fixes, but think of them as "suggestions", not "hard requirements". We welcome ideas and suggestions!
    • If you see missing requirements to this issue, please leave a comment below explaining what is missing and why it is important.
    • If you see a requirement that you think is incorrect or not optimal, please leave a comment explaining what you think needs to change below.

jemiluv8 avatar Apr 30 '24 14:04 jemiluv8

@gathuku, FYI, I'm not a maintainer on this project and this issue doesn't have a bounty on it at the moment. Also, you might want to ping the maintainers just in case they have something to add or even if they truly want test coverage on their project.

jemiluv8 avatar Apr 30 '24 15:04 jemiluv8

Sorry @jemiluv8 , no problem, let me remove my comment.

gathuku avatar Apr 30 '24 15:04 gathuku

@jemiluv8 @gathuku I think we could add the simplecov gem to generate a coverage report, but given how early we are with this project, this should be for convenience only at the moment (i.e. a dev writing tests locally can easily see coverage to help them identify important areas that they missed)

In other words, we can set this up, but let's not enforce anything in CI for now.

zachgoll avatar Apr 30 '24 15:04 zachgoll

Nice! @jemiluv8 can I help you with this?

gathuku avatar Apr 30 '24 16:04 gathuku