Nidhi Bhawari created FINERACT-2578:
---------------------------------------
Summary: Add Unit Test Coverage for [Service]Api using WireMock
Key: FINERACT-2578
URL: https://issues.apache.org/jira/browse/FINERACT-2578
Project: Apache Fineract
Issue Type: Bug
Reporter: Nidhi Bhawari
Problem: > Currently, the {{fineract-client}} module lacks comprehensive unit
test coverage for individual Feign API interfaces. Many services are only
tested via manual integration or not at all, making it difficult to verify API
contracts without a full server environment.
Proposed Solution: > Introduce unit tests using WireMock and JUnit 5 to
simulate the Fineract back-end. This allows for:
# Fast verification of JSON-to-Java mapping.
# Testing of error codes (400, 404, 500) without a database.
# Improved CI/CD reliability.
Task: Implement {{[Service]FeignTest.java}} for the {{[Service]Api}} interface.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)