gbdev/rgbds

Increase CI test coverage

Open

#1,631 opened on Jan 28, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (187 forks)auto 404
good first issuergbgfxrgblinktests

Repository metrics

Stars
 (1,623 stars)
PR merge metrics
 (PR metrics pending)

Description

  1. Run ./contrib/coverage.bash and look at the coverage report it generates.
  2. Write test cases for any lines of code that were not executed.
    • Some lines are okay to go without testing -- "verbose" output messages, wildly rare errors like out-of-memory or syscall failure, etc.
  3. If those new test cases uncover any bugs, file an issue and/or try to fix them.

Leave this issue open even if you do add some more tests. It's an open-ended task, at least until the unlikely day when coverage.bash reports 100%.

Contributor guide