Skip to content

witspirit/IntelliJBehave

 
 

Repository files navigation

JBehave Support for IntelliJ IDEA

JBehave Support

IntelliJ IDEA Plugin for JBehave

This plugin provides some support for JBehave. It is a fork of IntelliJBehave, originally created by Aman Kumar.

Features

The plugin provides the following features:

  • Basic syntax highlighting for JBehave story files
  • Jump to step definition in Java or Groovy
  • Error Highlighting in story if step was not defined
  • Create new story files from a configurable story template
  • Comment/uncomment lines in story files
  • Code inspections to report unused steps definitions and undefined step usages
  • Run *.story files
  • Spellchecking in .story files
  • Structure view for .story files (via Ctrl+12 or similar shortcut)

Known limitations

  • Searches complete module classpath, no configuration available to limit scope
  • Does not take into account any custom JBehave configuration
  • Lifecycles are currently not supported in the .story file structure view

Contribute

  • Setup:
git clone <URL>
./gradlew idea

In IntelliJ just 'Open' that folder and everything should be ready.

  • Run:
./gradlew runIde

You can do this from within IntelliJ if you enable gradle on the project.

Contributions

See original documentation at https://github.com/kumaraman21/IntelliJBehave/wiki.

Most of the original code has been retained, but several improvements have been incorporated by various contributors:

About

IntelliJ IDEA Plugin for JBehave

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 91.7%
  • Kotlin 4.5%
  • Lex 2.8%
  • Other 1.0%