Skip to content

Need Junit 5 Support #340

Open
Open
@akhilasankar

Description

I was trying to use spark-testing-base with Junit 5 but even after extending SharedJavaSparkContext I was getting jsc() as null. On a quick look I found that SharedJavaSparkContext is expecting junit 4(org.junit.Test).So in my method with junit5 @test(org.junit.jupiter.api.Test) jsc() was coming as null. If I move to junit4 everything works fine.As we are moving to junit5 I believe this is a must have change in the lib.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions