Skip to content

Hot Keys - Shortcuts for autocomplete, formatting and comments

AssertThat has a number of inbuilt pieces of functionality to enable your team to quickly add new scenarios, reuse steps and format scenarios. These features will save your team time and ensure the scenarios are correctly formatted making them easier to review.

image-20260419-175335.png

Step autocomplete automatically suggests steps when you have entered 3 charactures following the gherkin keyword.

image-20260419-175335.pngimage-20260419-175605.png

CTRL+ALT+L auto formats your Gherkin scenarios for Windows.

CTRL+OPT+L for Mac

All screens where gherkin syntax is used (Given, When, Then)

  • simply press CTRL+ALT+L to format (Control+Option+L on Mac)

    • scenario steps

    • Examples table

image-20260419-175711.png

CTRl+/ comments outlines in your gherkin scenarios (For Windows and Mac)

image-20260419-175823.png