Concepts and types
Concepts
The framework was implemented with the following concepts and definitions in mind. These definitions were used as a guideline to implement the test Tree hierarchy. While the implementation does not strictly enforce these concepts, users are encouraged to apply these definitions during the design of their tests.
Everything is a Test
The framework treats everything as a test, including setup and teardown.
Definitions
Test is
something that produces a result.
Test Order is
a specific order of execution of Tests
Tree is
a rooted tree graph that results from the execution of a Test Order
Step is
is a lowest level Test
Case is
a Test that is made up of one or more Steps
Suite is
is a Test that is made up of one or more Cases
Module is
a Test that is made up of one or more Suites
Types
The framework divides tests into the following Types from highest to the lowest
Children of each Type must be of the same Type or lower.
Sub-Types
The framework uses the following Sub-Types in order to provide more flexibility and implement specialized keywords
- Feature
- Scenario
- Example
- Check
- Critical
- Major
- Minor
- Background
- Given
- When
- Then
- And
- But
- By
- Finally
- Sketch (special)
- Combination (special)
- Outline (special)
- Iteration (special)
- RetryIteration (special)
Sub-Types Mapping
The Sub-Types have the following mapping to the core four Types
The following special types can be applied to any of the core four Types
- Outline (special)
- Sketch (special)
- Combination (special)
- Iteration (special)
- RetryIteration (special)