Definition
Test is an instance of a scenario, a sequence of steps where action words and parameters have been interpreted. So basically, the scenario is a higher level description of the behavior of the application. It generates one or more test instances that will be executed.
Test view
You can view the test directly from the scenario page:
Tests are generated so you cannot modify them directly.
Test generation
The way the interpretation works during the test generation process is straightforward:
-
A step action generates an action where parameters (if any) are interpreted with their values
-
A step result generates a result where parameters (if any) are interpreted with their values
-
An action word is replaced by the steps it contains or by an action containing its name if it is empty.
So basically a test doesn’t have any action words. It is a sequence of actions and results.
If a scenario has no datatable, it will generate one test. If a scenario has a datatable with N datasets, it will generate N tests, one per dataset.
Example
Given the Scenario Simple Sign in Workflow
with the following datatable
and using action word Login
It generates 2 tests: