Generate tests
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 desciption 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.
So basically a test doesn’t have any action words. It is a sequence of actions and results.
If a scenario has no parameters & data table, 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: