Skip to content

[Quality]: Increase code coverage with new or improved testsΒ #267

@jvondermarck

Description

@jvondermarck

πŸ‘‰ Please confirm the following

πŸ€” 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.html report generated by mvn clean test jacoco:report). (This is being set directly from the pom.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

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions