Closed LeoColman closed 4 years ago
Can you confirm this is working on 4.1.0.RC2 and plugin 1.0.0 ?
I confirmed that it's not working on 4.1.0 and plugin 1.0.2
This might fix it https://github.com/kotest/kotest/pull/1529
Added more tests for this now. I think 4.1.1 should fix this.
On Thu, 25 Jun 2020 at 14:06, Leonardo Colman Lopes < notifications@github.com> wrote:
I confirmed that it's not working on 4.1.0 and plugin 1.0.2
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/kotest/kotest-intellij-plugin/issues/68#issuecomment-649763724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFVSGVAIEQUYQ7Z34GHZKLRYON4TANCNFSM4NRDGCLA .
Can you try 4.1.1 just released.
Tried with kotest 4.1.1, plugin 1.0.5 and BehaviorSpec. Single test case is not executing (gutter icon for "given", "when" or "then"), running the whole test class works.
Same with BehaviorSpec. kotest 4.1.1, plugin 1.0.5.
Running gutter icons "given", "when", "then" all create run/debug configurations, but won't execute. Only log message you see in Test Results is:
io.kotest.runner.console.LauncherKt --spec com.package.ExampleSpec --testpath Given: something
~~~ Kotest Configuration ~~~
-> Parallelism: 1 thread(s)
-> Default test timeout: 600000ms
-> Default test order: Sequential
-> Default isolation mode: SingleInstance
-> Global soft assertations: False
-> Write spec failure file: False
-> Fail on ignored tests: False
-> Spec execution order: LexicographicSpecExecutionOrder
-> Extensions
- io.kotest.core.extensions.SystemPropertyTagExtension
- io.kotest.core.extensions.RuntimeTagExtension
- io.kotest.core.extensions.IgnoredSpecDiscoveryExtension
- io.kotest.core.extensions.TagFilteredDiscoveryExtension
Same here for DescribeSpec
, with a very simple repro:
and
That's with Kotest 4.1.1, IJ plugin 1.0.5 and Android Studio 4.2 Canary 4 (Build #AI-201.7846.76.42.6636798).
What's interesting though is that if I run the test contextually (Run context configuration action, ctrl+shift+r) with cursor at a specific it
test, it will run only that one test
One more attempt with 1.1.9 ?
for me it works with kotest 4.2.2 and newest intellij plugin version
When using the plugin, executing "A" runs both "A" and "B". Executing "B" also runs "A" and "B". Both fail as expected.
When running "C", it won't be executed by the plugin.
The only way to execute C is using the class, executing Foo