Skip to content

Restore LDIF support test coverage #5236

Closed

Description

@banseok1216

Expected Behavior

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.

Activity

  1. 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
  2. fmbenhassine commented on Jun 4, 2026

    @fmbenhassine
    Contributor

    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.

  3. changed the title [-]Guidance on LDIF test coverage (LdifReader/MappingLdifReader) after cleanup[/-] [+]Restore LDIF support test coverage[/+] on Jun 4, 2026
  4. added and removed
    status: waiting-for-triage
    on Jun 4, 2026
  5. added this to the 6.0.4 milestone on Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions