[
https://issues.apache.org/jira/browse/FINERACT-2494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18067536#comment-18067536
]
Ambika commented on FINERACT-2494:
----------------------------------
This PR introduces a comprehensive unit test suite for ApiParameterHelper,
covering:
- Parameter extraction (limit, offset, commandId, locale)
- Edge cases (negative values, null inputs, malformed data)
- Boolean parsing scenarios
- Missing and optional parameter handling
The tests are designed as pure unit tests with no Spring or database
dependencies, ensuring fast execution and high reliability.
Open to feedback and happy to refine further.
> [Testing] Add unit tests for ApiParameterHelper in fineract-core
> ----------------------------------------------------------------
>
> Key: FINERACT-2494
> URL: https://issues.apache.org/jira/browse/FINERACT-2494
> Project: Apache Fineract
> Issue Type: Task
> Reporter: Ambika
> Priority: Major
> Labels: gsoc-fineract-evidence, testing
> Attachments: Screenshot 2026-02-18 142543.png
>
>
> {{There is currently no unit test coverage for the ApiParameterHelper utility
> class. I have implemented a new test suite using JUnit 5 to cover core
> methods like extractFieldsForResponseIfProvided.}}
> {quote}{{Verification: Successfully ran locally with 1/1 tests passed (100%
> success rate)}}
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)