Syntax Validation

Syntax Validation

Step 1: Navigate to the Space Settings and then select AssertThat BDD.

image-20260419-174452.png
Access AssertThat settings - Space Settings → AssertThat BDD

Within the configuration menu are 2 toggles to switch on syntax validation for manual tests and for automated tests. We recommend switching on the syntax validation for Automated tests as a minimum. This will ensure that when you download BDD scenarios to your test automation frameworks they won’t error due to syntax issues.

image-20260419-174632.png
Syntax Validation toggle in the AssertThat Configuration page

Step 2: Access the features menu.

Step 3: Select the Feature you would like to add the new Scenario to by clicking on the Scenario title. Set the mode to Automated.

Step 4: Syntax validation is enabled to ensure steps start with Given, When and Then.

image-20260419-174812.png
Capture errors early with AssertThat BDD Syntax validation before Automated tests fail due to validation errors