Skip to content

Cannot run unit tests with Visual Studio Code #1000

Open
@haykam821

Description

@haykam821

With a simple JUnit setup, tests will crash on start:

java.util.ServiceConfigurationError: org.junit.platform.launcher.LauncherSessionListener: Provider net.fabricmc.loader.impl.junit.FabricLoaderLauncherSessionListener could not be instantiated
java.lang.RuntimeException: Duplicate setLauncher call!

This issue was previously discussed on Discord.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions