[ 
https://issues.apache.org/jira/browse/FINERACT-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

devi pathak updated FINERACT-2534:
----------------------------------
    Description: 
_Description_

The *StreamUtil utility class* currently lacks dedicated *unit tests.*

This improvement adds unit tests for the following methods:
 - *foldLeft* collector functionality
 - *mergeMapsOfLists* collector functionality

These tests verify correct folding behavior and correct merging of map list 
values.

_Motivation_

Adding unit tests improves code coverage and ensures the reliability of utility 
methods used across the project.
 # 
 ## Proposed Solution

Create StreamUtilTest.java under:

fineract-core/src/test/java/org/apache/fineract/util/

and add tests covering foldLeft and mergeMapsOfLists collectors.

  was:
## Description

The *StreamUtil utility class* currently lacks dedicated *unit tests.*

This improvement adds unit tests for the following methods:

- *foldLeft* collector functionality
- *mergeMapsOfLists* collector functionality

These tests verify correct folding behavior and correct merging of map list 
values.

## Motivation

Adding unit tests improves code coverage and ensures the reliability of utility 
methods used across the project.

## Proposed Solution

Create StreamUtilTest.java under:

fineract-core/src/test/java/org/apache/fineract/util/

and add tests covering foldLeft and mergeMapsOfLists collectors.


> Add unit tests for StreamUtil utility class
> -------------------------------------------
>
>                 Key: FINERACT-2534
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2534
>             Project: Apache Fineract
>          Issue Type: Improvement
>    Affects Versions: 1.15.0
>            Reporter: devi pathak
>            Priority: Major
>              Labels: gsoc-fineract-evidence, testing
>
> _Description_
> The *StreamUtil utility class* currently lacks dedicated *unit tests.*
> This improvement adds unit tests for the following methods:
>  - *foldLeft* collector functionality
>  - *mergeMapsOfLists* collector functionality
> These tests verify correct folding behavior and correct merging of map list 
> values.
> _Motivation_
> Adding unit tests improves code coverage and ensures the reliability of 
> utility methods used across the project.
>  # 
>  ## Proposed Solution
> Create StreamUtilTest.java under:
> fineract-core/src/test/java/org/apache/fineract/util/
> and add tests covering foldLeft and mergeMapsOfLists collectors.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to