-
Notifications
You must be signed in to change notification settings - Fork 33
Home
IntelliJBehave is an IntelliJ IDEA plugin for JBehave.
You can either install the plugin from within IntelliJ. Alternatively, download the binary zip file from downloads, unzip the contents at <IntelliJ Home>/plugins and restart IntelliJ.
Go to IntelliJ Settings --> IDE Settings --> File Types, select JBehave story files and ensure that *.story is a registered pattern.
We do not support
- Multiline scenario text
- Parameterized scenarios with example tables
- Using Given stories
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
- Custom parameter prefix apart from the default $ for parameterized steps
Error is highlighted if a step used in the story was not defined.
You can comment/uncomment lines in the story file by using cmd+/ for mac or ctrl+/ for win/linux.
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.
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
We support step definitions written in Java or Groovy.
Description coming up soon.
Error Highlighting in story if step was not defined
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.