Cosmic Module
O
Qubits of DPK
March 23, 2026
Core Open Source
Layer: Layer 9 — The App Shell
Full end-to-end integration test suite running against a live Fineract server + database.
This is where all 4 of your GSoC PRs live:
- PR #5658 — InstanceModeIntegrationTest
- PR #5659 — ClientExternalIdTest + 2 others
- PR #5668 — LoanWithdrawnByApplicantIntegrationTest
- PR #5670 — ClientLoanAccountLockIntegrationTest
All migrations are under: integration-tests/src/test/java/org/apache/fineract/integrationtests/
What This Module Is (Big Picture)
The integration-tests module validates that the entire Apache Fineract system works correctly when all modules run together.
Unlike unit tests that test individual classes, integration tests verify real system behavior.
These tests simulate real workflows such as:
- creating a client
- creating a loan
- approving a loan
- making repayments
- generating reports
The module interacts with the system through real API calls.
Layman Example
Suppose we want to verify that the loan system works correctly.
Instead of manually testing it through the UI, an automated test performs the entire workflow.
Example test flow:
- #Create a client
- #Create a loan for that client
- #Approve the loan
- #Disburse the loan
- #Make a repayment
The test checks whether each step works correctly.
The integration-tests module automates these validations.
Where the Code Lives
The tests simulate real application usage.
Key Package
org.apache.fineract.integrationtests
Responsibilities include:
- testing system workflows
- validating API behavior
- verifying database changes
- ensuring system modules work together
Example Integration Test
A typical integration test verifies a complete workflow.
Example test:
java
QUBITS OF DPK
This test verifies the entire loan lifecycle.
Test Environment
Integration tests run against a real running instance of Fineract.
Test setup typically includes:
- starting the application server
- connecting to a test database
- executing API calls
The tests verify that the system behaves correctly under real conditions.
Example Test Flow
java
QUBITS OF DPK
This ensures the system works from API → Service → Database.
Test Categories
Integration tests often cover:
These tests ensure critical system workflows remain stable.
Example Workflow Test
Example: Client and loan creation test.
java
QUBITS OF DPK
Why This Module Matters
Integration tests ensure:
- system stability
- correct module interaction
- reliable API behavior
- safe software updates
They are critical for preventing regressions when code changes.
One-Sentence Summary
integration-tests provides end-to-end automated tests that validate real workflows and ensure all Apache Fineract modules work together correctly.