/jgiven-intellij-plugin

IntelliJ Plugin for JGiven

Primary LanguageKotlinApache License 2.0Apache-2.0

Build Status License

JGiven Plugin for IntelliJ IDEA

IntelliJ IDEA plugin to support both navigating between scenario states and finding usages of scenario states within JGiven test stages.

Features

  • All scenario states with usages are annotated
    Line Marker Preview

  • When looking for usages of a scenario state field, IntelliJ will also show all other fields referencing this scenario state. To make those lists more readable, an additional usage type for JGiven scenario states is available. Within this list, all non scenario state usages can be filtered out by clicking the JGiven icon.
    Find Usages

Building

Checkout all source files and run ./gradlew buildPlugin from within the checkout directory.

The installable artifact can be found at build/distributions/jgiven-intellij-plugin.zip.

Installation

The plugin is available from within the JetBrains plugin repository. Thus, either download the plugin directly from within the IDE ("Browse repositories") or build the plugin manually and install it from your local disk.

  • Open up the Settings dialog (File > Settings or hit Ctrl+Alt+S).
  • Select Plugins from the tree
  • Hit Install plugin from disk and select the zip file you just created (see Building).
  • Restart IntelliJ

Installation

License

Licensed under the Apache License, Version 2.0.