Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.14 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.14 KB

Spek IntelliJ IDEA Plugin

This is the official IntelliJ IDEA plugin for Spek.

Features

  • Run specs directly from IDEA.
  • Choose a specific group/test to run within a spec.

Requirements

  • Make sure you have compatible versions of org.junit.platform:junit-platform-launcher and org.jetbrains.spek:spek-junit-platform-engine in the test runtime classpath.

What's missing?

  • Navigate to source via the test tree.

Known Limitations

  • If your class is annotated with @RunWith(...) the junit plugin will take over and this plugin will not work.

Development

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.

Versions

The project uses com.zoltu.git-versioning, which means versions are maintained via git tags.

Testing

./gradlew plugin:runIde.

Testing - Android Studio

./gradlew plugin:runIde -Pas.

Building

./gradlew clean plugin:buildPlugin