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

Support running on non-local envrionment

Open CXwudi opened this issue 3 years ago • 3 comments

Hi,

Thanks for maintaining this convience plugin. It would be great if I can configure the run configuration to let a particular kotest run in docker or WSL2, similar to how Junit test in Intellij can be ran in docker or WSL2 as shown below image

CXwudi avatar May 18 '22 04:05 CXwudi

Is this an intellij screenshot ?

On Tue, 17 May 2022 at 23:14, CXwudi @.***> wrote:

Hi,

Thanks for maintaining this convience plugin. It would be great if I can configure the run configuration to let a particular kotest run in docker or WSL2, similar to how Junit test in Intellij can be ran in docker or WSL2 as shown below [image: image] https://user-images.githubusercontent.com/17377423/168955518-75ab4a5b-5113-48ea-8ff1-73bd4f24ed91.png

— Reply to this email directly, view it on GitHub https://github.com/kotest/kotest-intellij-plugin/issues/170, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFVSGVVZIRL3QZ6AHINWRTVKRVBTANCNFSM5WHAVFOQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sksamuel avatar May 18 '22 05:05 sksamuel

Yes, I think this functionality appears since a 2021 version intellij

CXwudi avatar May 18 '22 06:05 CXwudi

I think this is the same cause, so I didn't create a separate issue

But when I open a project stored in WSL2 image and run a test by clicking the run button. it show that kotest can not run as it is not a Win32 process image

On the other hand, if I right-click a folder and click run test. It works fine (but I guess it works because running test from folder let IntelliJ tries to run through JUnit 5, whereas the run button that the plugin creates is actually running the kotest through the plugin) image

CXwudi avatar Jul 30 '22 06:07 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 Sep 30 '22 23:09 stale[bot]