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
Section titled “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, as you type, a list of matching steps already used in the project appears (you can also press Ctrl+Space to open it). Continue typing to narrow down steps that match existing steps.
