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

feat: add JaCoCo for test coverage and fail build under 100% #236

Merged

Conversation

RomeoIndiaJulietUniform
Copy link
Contributor

Summary

This pull request introduces the JaCoCo plugin for measuring test coverage in our project. The build will now fail if the coverage is below 100%, ensuring that all code is thoroughly tested.

Changes Made

  • Integrated JaCoCo Maven plugin to measure test coverage.
  • Configured build to fail if test coverage is less than 100%.

All the tests are passing attaching snapshots for better understanding.

Screenshot from 2024-10-20 23-18-06

Closes Issue #235

@McPringle McPringle self-assigned this Oct 20, 2024
@McPringle McPringle added the maintenance Issues related to maintaining Apus label Oct 20, 2024
Copy link
Owner

@McPringle McPringle left a comment

Choose a reason for hiding this comment

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

Cool, thank you very much for your contribution! The version number is a bit outdated but the Renovate bot will take care of it. I'll add you to the list of contributors!

@McPringle McPringle added the hacktoberfest-accepted This issue was accepted for hacktoberfest label Oct 20, 2024
@McPringle McPringle added this to the v4 milestone Oct 20, 2024
@McPringle McPringle merged commit 15b9989 into McPringle:main Oct 20, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted This issue was accepted for hacktoberfest maintenance Issues related to maintaining Apus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants