kotest-intellij-plugin icon indicating copy to clipboard operation
kotest-intellij-plugin copied to clipboard

Error running on WSL2

Open pacdouglas opened this issue 2 years ago • 3 comments

Hi!

I can't run using the IntelliJ on Windows with all environments set to WSL2, it doesn't happen if I use a simple test with JUnit.

Error running 'FakeTempGisModelTest': Cannot run program "\wsl$\Ubuntu\home\pac.asdf\installs\java\adoptopenjdk-8.0.345+1\bin\java" (in directory "\wsl$\Ubuntu\home\pac\git\avangrid-e3\avangrid-model"): CreateProcess error=193, %1 is not a valid Win32 application

pacdouglas avatar Sep 15 '22 22:09 pacdouglas

I have got the same issue

DragonString avatar Sep 25 '22 13:09 DragonString

wow,,, I have got the same issue too

A-WOS avatar Sep 28 '22 13:09 A-WOS

Still doesn't work with WSL :(

Tetrahedrite avatar Oct 08 '22 18:10 Tetrahedrite

A workaround could be that running the junit 5 instead of running them as kotest

See https://github.com/kotest/kotest-intellij-plugin/issues/170#issuecomment-1200103433

CXwudi avatar Oct 31 '22 18:10 CXwudi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 08 '23 03:01 stale[bot]