This is the official IntelliJ IDEA plugin for Spek.
- Run specs directly from IDEA.
- Choose a specific group/test to run within a spec.
- Make sure you have compatible versions of
org.junit.platform:junit-platform-launcher
andorg.jetbrains.spek:spek-junit-platform-engine
in the test runtime classpath.
- Navigate to source via the test tree.
- If your class is annotated with
@RunWith(...)
the junit plugin will take over and this plugin will not work.
Import the project to any IDE that supports gradle, do note that if you're using IntelliJ IDEA the imported project
is not marked as IDEA plugin project. You also need a local installation of Android Studio; update localAndroidStudio
in gradle.properties
to point to that installation.
The project uses com.zoltu.git-versioning
, which means versions are maintained via git tags.
./gradlew plugin:runIde
.
./gradlew plugin:runIde -Pas
.
./gradlew clean plugin:buildPlugin