Autocomplete to reuse steps

Autocomplete to reuse steps

The AssertThat BDD plugin has a number of features to help writing BDD Features, Scenarios and Steps. In this section we will cover Autocomplete which will speeds up your teams ability to write scenarios by reusing steps over and over again.

Autocomplete

Step 1: Access the features menu.

Step 2: Select the Feature you would like to add the new Scenario to, by clicking on the Scenario title.

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.

image-20260419-172404.png
Step Autocomplete - Type ahead search to reuse existing steps