Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

At AssertThat - BDD & Cucumber for Jira we want you to spend your time developing great products not writing out the same steps over and over again. We have developed some simple but highly effective time saving tools: AssertThat - BDD & Cucumber for Jira

Table of Contents

Autocomplete

Step 1: Access the features menu.

...

Step 3: Enter step type (Given, When, Then, But) then start to type in an existing step, when you have typed 3 Characters press CTRL-SPACE you will be presented with a list of potential steps that can be reused. Continue typing to narrow down steps that match existing steps.

...

Step reuse - Drag and Drop

Step 1: Access the features menu.

...

Step 5: Simply select the position of where you want the new step and then drag and drop the step from the Autocomplete box.

Scoped autocomplete per component

In order to logically separate steps that are being suggested in autocomplete you can use feature level tags of specific format (component:<component_name>)to group the features into components. Autocomplete in a feature with feature level component tag will be scoped to the component and won’t suggest steps from features in different components.

For example if Feature A and B has tag component:X and Feature C and D has tag component:Y, then when writing scenario in Feature C autocomplete won’t show steps from Features A and B but will only suggest steps from Features C and D.

Example of feature level components tags below:

...