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

Support Kotlin/JS vol. 2

Open krzema12 opened this issue 3 years ago • 22 comments

Hi Team!

I'm aware of #106 but I think it was closed prematurely. For me, the lack of gutter icons and in fact any IDE integration is a major pain point. I'm close to moving back to kotlin.test and leaving just kotest assertions library.

Implementation-wise, my intuition tells me that, contrary to what was suggested in the closed ticket, the individual tests can be detected by static analysis - no need to execute it. IntelliJ plugins API probably exposes some kind of AST or PSI that would be helpful in detecting e.g. invocations of test function inside FunSpec.

krzema12 avatar Jan 11 '22 07:01 krzema12

It's in the works. The PSI side is done. This is a JS project.

image

The outstanding issue is attaching the JDK to run the engine to the run configurations.

image

sksamuel avatar Jan 11 '22 14:01 sksamuel

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 Mar 12 '22 23:03 stale[bot]

@sksamuel could you share if there's any progress?

krzema12 avatar Mar 13 '22 18:03 krzema12

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 Jun 04 '22 03:06 stale[bot]

@sksamuel is there still hope?

krzema12 avatar Jun 06 '22 12:06 krzema12

We are actively working on this. But it won't be Q2.

sksamuel avatar Jun 07 '22 02:06 sksamuel

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 Aug 12 '22 00:08 stale[bot]

It still would be nice to have it.

krzema12 avatar Aug 12 '22 05:08 krzema12

It's still on the roadmap.

On Fri, 12 Aug 2022 at 00:02, Piotr Krzemiński @.***> wrote:

It still would be nice to have it.

— Reply to this email directly, view it on GitHub https://github.com/kotest/kotest-intellij-plugin/issues/160#issuecomment-1212731764, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFVSGU4TZSNXIQD4QGTHM3VYXLHFANCNFSM5LVTP6MQ . You are receiving this because you were mentioned.Message ID: @.***>

sksamuel avatar Aug 12 '22 05:08 sksamuel

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 Oct 15 '22 21:10 stale[bot]

Bump.

krzema12 avatar Oct 16 '22 05:10 krzema12

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 Dec 21 '22 02:12 stale[bot]

.

krzema12 avatar Dec 21 '22 02:12 krzema12

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 Mar 19 '23 04:03 stale[bot]

Knock knock.

krzema12 avatar Mar 19 '23 20:03 krzema12

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 May 21 '23 18:05 stale[bot]

Is it still on the roadmap? If yes, does it make sense to exclude it from auto-resolving?

krzema12 avatar May 21 '23 19:05 krzema12

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 Aug 13 '23 07:08 stale[bot]

Robot, your resistance is futile, please stop auto-resolving this issue.

krzema12 avatar Aug 13 '23 08:08 krzema12

This is the reason I'm still using kotlin.test.

What I'm missing there tho is https://youtrack.jetbrains.com/issue/KT-49141
@krzema12 feel free to upvote it.

lppedd avatar Sep 02 '23 16:09 lppedd

Can we somehow help to get this done?

sschuberth avatar Apr 04 '24 11:04 sschuberth

On the radar for 6.0 I already have nested test support for JS running through my own plugin, so that's the pre-requisite for running tests individually in the plugin.

sksamuel avatar Jun 03 '24 04:06 sksamuel