Improve Integration Tests coverage

Hey everyone,

I’m interested in the GSoC 2025: Improve Integration Test Coverage project.

Project Overview

Integration tests are essential for ensuring smooth interactions between different service layer components. While we already have a variety of integration tests in place, this project aims to increase test coverage to at least 60% by improving existing tests and adding new ones for critical services.

Current Testing Approach

We follow a dataset-driven testing strategy, ensuring realistic scenarios by using actual data instead of mocks. Our tests:

  • Utilize datasets for setup and validation.
  • Manage test state with executeDataSetWithStateManagement to maintain consistency.
  • Measure and track coverage with JaCoCo, ensuring improvements are data-driven.

Currently, integration tests cover various service layer functionalities, including CRUD operations, data retrieval, business logic validation, and error handling. Expanding this coverage will enhance the reliability and stability of the system.

Objectives

  1. Expand test coverage to at least 60% for critical service layer components.
  2. Ensure comprehensive coverage of core functionalities while maintaining test efficiency.
  3. Improve dataset management and test state handling for more reliable integration tests.

@Herbert @Moses_Mutesasira @caseyi @calebslane @community

1 Like

For any one interested in finding more about this project you can visit
OpenELIS Global Gsoc 2025 Final list
OpenELIS Global Development Environment Setup Instructions
Current Integration Tests

Hey @Agaba_Derrick_Junior I am Adarsh and interested in working on this project to maybe we can collaborate and increase efficiency together

Can you tell me in which IDE are you running your test and what command you are using to test the integration test code?

hello @Adarsh_Samani I use VS code and intellij but preferably I use intellij mostly
I would advise if you are interested in the same project you create a different thread for work visibility !

I also want to use intellij, can you tell me what commands you use to check the tests