-
-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
difficulty: mediumNeed time to think throughNeed time to think throughgood first issueGood for newcomersGood for newcomershacktoberfestjavaPull requests that update java codePull requests that update java codestatus: help-wantedExtra attention is neededExtra attention is neededtype: documentationImprovements or additions to documentationImprovements or additions to documentationtype: enhancementNew feature or requestNew feature or request
Description
π Please confirm the following
- I agree to follow the Code of Conduct that this project adheres to.
- I checked the current issues for duplicate features.
π€ Is your proposal related to a problem?
Code coverage is crucial to ensure we have reliable and robust code, especially as the project grows. Currently, the project's code coverage can be improved. Let's increase the number of unit and integration tests so more code paths and edge cases are tested.
π Describe the solution you'd like
- Identify classes, packages, or modules that have low coverage (see the
target/site/jacoco/index.htmlreport generated bymvn clean test jacoco:report). (This is being set directly from thepom.xml, so If u want to add another code coverage tool, feel free to change - Write new unit or integration tests for uncovered or under-covered code (including error cases, utility methods, or business logic).
- Review and refactor existing tests for better clarity, maintainability, and coverage.
- Use mocks/stubs for dependencies where it makes isolated tests easier.
- Exclude classes / folders that don't need to be tested -> we don't have to test 100% !!
ποΈ Describe alternatives you've considered
No response
β Additional context
- Check the coverage report (
mvn clean test jacoco:report, opentarget/site/jacoco/index.html). - Identify and list files/classes with low or no coverage (can comment here).
- I use Sonarcube, maybe you can figure it out how can I made my Sonarcube tool work with code coverage -> https://sonarcloud.io/project/overview?id=jvondermarck_dinosaur-exploder
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
difficulty: mediumNeed time to think throughNeed time to think throughgood first issueGood for newcomersGood for newcomershacktoberfestjavaPull requests that update java codePull requests that update java codestatus: help-wantedExtra attention is neededExtra attention is neededtype: documentationImprovements or additions to documentationImprovements or additions to documentationtype: enhancementNew feature or requestNew feature or request
Projects
Status
Backlog