Skip to content
kumaraman21 edited this page Dec 11, 2011 · 22 revisions

IntelliJBehave is an IntelliJ IDEA plugin for JBehave.

Installation

Configuration

Features

Syntax Highlighting

Syntax Highlighting

We do not support

  • Multiline scenario text
  • Parameterized scenarios with example tables
  • Using Given stories

Navigation to Step Definition

You can jump to the step definition from the step usage in the story by doing either of the following

  • Press cmd+b for mac or ctrl+b for win/linux when the cursor is on the step usage text
  • Perform cmd+click for mac or ctrl+click for win/linux on the step usage text

We do not support

  • Any other character apart from default $ for parameterized steps

Line Comment/Uncomment

You can comment/uncomment lines the story file by using cmd+/ for mac or ctrl+/ for win/linux. Line Comment/Uncomment

Create New JBhehave Story

You can create a new JBehave story file by selecting a folder in the project explorer and doing one of the following

  • Press cmd+alt+S for mac or ctrl+alt+S for Win/Linux
  • Right click on the folder, select New and the JBehave Story

You don't need to provide .story extension when asked to provide the name. Also the story would be created by using the Story File Template.

Story File Template

When you create a new story file the default contents are taken from the file template defined for story files. To see/modify the story file template go to IntelliJ Settings --> IDE Settings --> File Templates

Story File Template

Supported Languages

We support step definitions written in Java or Groovy.

Advanced Features

Running *.story Files

Description coming up soon.

License

Copyright 2011 Aman Kumar

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Clone this wiki locally