You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After commit 3466700 (“Cleanup tests”), I’d like to confirm the intended direction for LDIF-related test coverage.
• Should LdifReader / MappingLdifReader still have dedicated tests in Spring Batch?
• Or were LDIF-specific tests intentionally removed as redundant, with the expectation that they won’t be covered by reader-specific tests going forward?
Current Behavior
LDIF-related tests (e.g. .../core/test/ldif/LdifReaderTests.java) appear to have been removed in the cleanup, and I couldn’t find equivalent coverage elsewhere in the current test suite for LdifReader / MappingLdifReader.
Context
I’m preparing a test for MultiResourceItemReader resource switching when using an LDIF delegate (LdifReader). Before proposing changes, I want to confirm that adding LDIF-focused tests aligns with the project’s intent and doesn’t reintroduce coverage that was intentionally removed.
changed the title [-]Guidance on LDIF delegate coverage for MultiResourceItemReader after test cleanup[/-][+]Guidance on LDIF test coverage (LdifReader/MappingLdifReader) after cleanup[/+]on Jan 25, 2026
changed the title [-]Guidance on LDIF test coverage (LdifReader/MappingLdifReader) after cleanup[/-][+]Restore LDIF support test coverage[/+]on Jun 4, 2026
Activity
[-]Guidance on LDIF delegate coverage for MultiResourceItemReader after test cleanup[/-][+]Guidance on LDIF test coverage (LdifReader/MappingLdifReader) after cleanup[/+]fmbenhassine commentedon Jun 4, 2026
Thank you for raising this! I think I cleaned up more than necessary 😂 I will restore them.
It's great that you refactored those tests and modernised them in #5237.
[-]Guidance on LDIF test coverage (LdifReader/MappingLdifReader) after cleanup[/-][+]Restore LDIF support test coverage[/+]