spekframework / spek

A specification framework for Kotlin
Other
2.23k stars 179 forks source link

[IDEA] Spek plugin replaces regular JUnit "run all"actions #837

Open matejdro opened 4 years ago

matejdro commented 4 years ago

When right clicking on a folder in IntelliJ without Spek plugin installed, JUnit plugin will display normal "Run tests in [folder name]" action.

However, with Spek plugin installed, this action will be REPLACED with "Run speks in [folder name]". Spek action only runs Spek tests and ignores JUnit tests. Thus, there is no way to bulk-run regular JUnit tests apart from creating run configuration manually.

This applies even for projects that do not use Spek at all, which is especially annoying (I have to create manual configuration for every tests in those projects).

raniejade commented 4 years ago

Weird, I'll have a look when I get back from holidays.

svareniem commented 3 years ago

I can confirm that it is still valid issue: https://github.com/ntoskrnl/spek2-with-mockk-sample. Any fixes planned?