Skip to content

FINERACT-2747: Add unit tests for FrequencyTypeUtil - #6244

Open
shubhamchaudhary29 wants to merge 1 commit into
apache:developfrom
shubhamchaudhary29:FINERACT-2747-frequency-type-util-tests
Open

FINERACT-2747: Add unit tests for FrequencyTypeUtil#6244
shubhamchaudhary29 wants to merge 1 commit into
apache:developfrom
shubhamchaudhary29:FINERACT-2747-frequency-type-util-tests

Conversation

@shubhamchaudhary29

Copy link
Copy Markdown

Description

Adds focused unit tests for FrequencyTypeUtil.compareFrequencies.

The tests cover comparisons between frequencies of the same type and conversions across days, weeks, months, and years. This documents the utility's current behaviour and protects it against regressions without changing production code.

JIRA: https://issues.apache.org/jira/browse/FINERACT-2747

Tests

  • ./gradlew :fineract-core:test --tests org.apache.fineract.infrastructure.core.service.FrequencyTypeUtilTest — passed (7 tests)
  • ./gradlew :fineract-core:spotlessCheck — passed
  • git diff --check — passed

Checklist

  • Commit message follows the project guidelines
  • Unit tests cover the proposed change
  • No production behaviour was modified
  • The change follows the project coding conventions
  • The PR is limited to the scope of FINERACT-2747

@shubhamchaudhary29
shubhamchaudhary29 marked this pull request as ready for review August 7, 2026 14:16
@shubhamchaudhary29
shubhamchaudhary29 force-pushed the FINERACT-2747-frequency-type-util-tests branch from 818adf1 to 4907881 Compare August 7, 2026 17:28
@shubhamchaudhary29
shubhamchaudhary29 marked this pull request as draft August 7, 2026 17:37
@shubhamchaudhary29
shubhamchaudhary29 marked this pull request as ready for review August 7, 2026 17:37
@shubhamchaudhary29

Copy link
Copy Markdown
Author

hey @adamsaghy it would be great, if you can review this pr.
its some tests without touching the codebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant