/Intellij-Ginkgo

Idea plugin for running and viewing ginkgo tests

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Intellij-Ginkgo

Build Version Downloads

Adds Ginkgo Test Framework integration for Intellij Ultimate and Goland.
This is still in beta but should be usable. Help me make this better, submit any bugs you run into or features you would like to see.

Requirements:

Unfortunately because it relies on the go plugin it is only compatible with IntelliJ IDEA Ultimate and Goland.

Also relies on the Ginkgo CLI as a test executor.
You can install the executor with either:

go get github.com/onsi/ginkgo/v2/ginkgo

or

go install github.com/onsi/ginkgo/v2/ginkgo

depending on your go version. Please refer to the Ginkgo documentation for additional information.

Features:

  • Run/Debug specific test specs from the gutter.
  • Ginkgo test run configuration.
  • View tests results.
  • View test structure.

ScreenShots

Overview RunDialog

Help me?

I am looking for help in general, but some specific topics include:

  • Improving the Ginkgo test parser
  • Cleaning up implementation
  • Adding tests

Installation

  • Using IDE built-in plugin system:

    • Installing plugin: Settings/Preferences > Plugins > Marketplace > Search for "Ginkgo" > Install Plugin
  • Using IDE built-in plugin beta channel system:

    • Adding the beta channel: Settings/Preferences > Plugins > ⚙️ > Manage Plugin Repositories... add link https://plugins.jetbrains.com/plugins/beta/list
    • Installing plugin: Settings/Preferences > Plugins > Marketplace > Search for "Ginkgo" > Install Plugin
  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.