kotest / kotest-intellij-plugin

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

Does plugin support custom spec? #127

Closed Jacks0N23 closed 3 years ago

Jacks0N23 commented 3 years ago

I have custom spec — AllureBehaviorSpec. Could I run my spec through this plugin?

sksamuel commented 3 years ago

Does allure spec extend one of the other specs? It looks for the spec classes on the classpath and also for the structure they define. If you have a custom structure then no it won't.

Jacks0N23 commented 3 years ago

Yes, I have Spec extended from DslDrivenSpec and written in BehaviorSpec style but with custom actions for allure

sksamuel commented 3 years ago

Right, so it only looks for classes extending one of the concrete spec styles (that's easy enough to update though). But it does have hard coded rules to look for certain layouts - is your behavior spec layout the same?

On Mon, 19 Apr 2021 at 05:26, Jacks0N23 @.***> wrote:

Yes, I have Spec extended from DslDrivenSpec and written in BehaviorSpec style but with custom actions for allure

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

Jacks0N23 commented 3 years ago

yeah, I have similar classes, but with name *Context instead of Scope, like: GivenContext, WhenContext and their content also similar to Behavior's one

stale[bot] commented 3 years ago

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.