Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage: define test suite with unit tests #109

Merged
merged 3 commits into from
Jan 19, 2025
Merged

Conversation

danctorres
Copy link
Collaborator

@danctorres danctorres commented Jan 19, 2025

Description

  • Added a test suite to support coverage reporting.
  • Updated the documentation to include detailed instructions on how to add tests for coverage, including best practices for organizing tests and integrating them into the unit_tests suite.

Checklist

  • Code follows project style guidelines.
  • Documentation updated (if applicable).
  • Tested in simulation/real-world environment (if applicable).

Testing

Tested locally, by generating a coverage report with:

bazel run //tools/coverage:lcov -- -t :unit_tests

and CI github action.

Related Issue

Issue: #106

Notes

To do on a follow-up task:

  • Generate coverage report with baseline.
  • Gating mechanism for coverage.

@danctorres danctorres marked this pull request as ready for review January 19, 2025 19:01
@danctorres danctorres merged commit f999b23 into main Jan 19, 2025
28 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