Skip to content

JUnit5 support #18733

Closed
Closed

Description

@kennknowles

Imported from Jira BEAM-3415. Original Jira may contain additional context.
Reported by: romain.manni-bucau.

Activity

  1. IraRe commented on Mar 9, 2023

    @IraRe

    We're looking forward to this feature for some time already. Are there any updates on the topic?

  2. kennknowles commented on Mar 9, 2023

    @kennknowles
    MemberAuthor

    Can you share more about how you want to use it? I think the Beam testing utilities include some JUnit4 utilities (like TestPipeline, and then also some hamcrest matchers. Maybe it would make sense to build a separate JUnit5 version of these while keeping the JUnit4 versions for compatibility with existing uses?

  3. the-serious-programmer commented on Jul 10, 2023

    @the-serious-programmer

    Just starting out with testing my apache beam pipeline. Must say I am pretty surprised this is still depending on Junit 4.
    Junit 5 has been out for a while now and Junit 4 is outdated.

  4. younes-d commented on Feb 6, 2025

    @younes-d

    Is anyone actively working on adding JUnit5 support to Beam?

    In TestPipeline,

    import org.junit.rules.TestRule;
    import org.junit.runner.Description;
    import org.junit.runners.model.Statement;
    

    are deprecated in JUnit5

  5. chennu2020 commented on Jul 25, 2025

    @chennu2020
    Contributor

    .take-issue

  6. chennu2020 commented on Aug 12, 2025

    @chennu2020
    Contributor

    This issue fixed, will be available in 2.68.0

  7. Abacn commented on Oct 1, 2026

    @Abacn
    Contributor

    This was functioning as of Beam 2.69.0 (#36258)

  8. added this to the 2.78.0 Release milestone on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions