fabric-loader icon indicating copy to clipboard operation
fabric-loader copied to clipboard

Cannot run unit tests with Visual Studio Code

Open haykam821 opened this issue 1 year ago • 1 comments

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.

haykam821 avatar Nov 15 '24 19:11 haykam821

I'm getting the same error when trying doing mutation tests using PITest.

CodexNotFound avatar Apr 29 '25 12:04 CodexNotFound