kotest / kotest-intellij-plugin

The official Kotest plugin for Intellij and Android Studio
Apache License 2.0
177 stars 24 forks source link

Command line is too long #94

Closed coreORB closed 4 years ago

coreORB commented 4 years ago

Android Studio version: 4.0.1 (based probably on Intellij 2019.3.3) kotest version: 4.2.3 kotest plugin version: 1.1.16-IC-2019.3

Then I try to run any test in my main bigger project, I'm getting the error: obraz

I've tried doing same thing on newly created project and it's working as expected. Maybe adding "shorten command line" option to Kotest run configuration will solve this issue?

sksamuel commented 4 years ago

Can you show me the command line? I wonder if your classpath is huge. If you need to obfuscate you can.

On Mon, 7 Sep 2020 at 11:33, Rafal notifications@github.com wrote:

Android Studio version: 4.0.1 (based probably on Intellij 2019.3.3) kotest version: 4.2.3 kotest plugin version: 1.1.16-IC-2019.3

Then I try to run any test in my main bigger project, I'm getting the error: [image: obraz] https://user-images.githubusercontent.com/6077897/92406131-854af980-f137-11ea-8c62-c52da7330c30.png

I've tried doing same thing on newly created project and it's working as expected. Maybe adding "shorten command line" option to Kotest run configuration will solve this issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kotest/kotest-intellij-plugin/issues/94, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFVSGRBII3QIC7QPVPXEUTSEUDMJANCNFSM4Q6R4GJQ .

coreORB commented 4 years ago

It's not showing any output in run window. I've tried to google where to view it, but no luck. Could you tell me where I can find it?

sksamuel commented 4 years ago

Does it work if you choose the shorten option?

On Mon, 7 Sep 2020, 12:18 Rafal, notifications@github.com wrote:

It's not showing any output in run window. I've tried to google where to view it, but no luck. Could you tell me where I can find it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kotest/kotest-intellij-plugin/issues/94#issuecomment-688444436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFVSGSOZRITG7DHNC33AY3SEUIURANCNFSM4Q6R4GJQ .

coreORB commented 4 years ago

This option is not available for me for Kotest: obraz

but it is for JUnit: obraz

sksamuel commented 4 years ago

I have a build that fixes this if you want to test it locally ? kotest-plugin-intellij-1.1.0-SNAPSHOT-IC-2020.1.zip You would need to remove your existing plugin first and restart and install this one manually from the settings -> plugins -> cog icon.

coreORB commented 4 years ago

Thank you for quick, new build. Unfortunately, I cannot install it. The message is "Plugin 'kotest' is incompatible with this installation". I'm using Android Studio version 4.0.1. When I click Help -> IntelliJ IDEA Help, it redirects me to https://www.jetbrains.com/help/idea/2019.2/installation-guide.html, so I assume it's based on IntelliJ 2019.2. Would it be possible to prepare plugin compatible with this version?

sksamuel commented 4 years ago

[Uploading kotest-plugin-intellij-1.1.0-SNAPSHOT-IC-2019.3.zip…]() Try this

coreORB commented 4 years ago

Unfortunately, the link is wrong. Could you paste new one?

sksamuel commented 4 years ago

kotest-plugin-intellij-1.1.0-SNAPSHOT-IC-2019.3.zip

Strange, try this one.

coreORB commented 4 years ago

I was able to test it today and it's working with both "JAR Manifest" and "classpath file". Thank you! 👍

sksamuel commented 4 years ago

Great, I'll cut an official release this weekend.

sksamuel commented 4 years ago

Fixed in the version that's pending release.