1. Implement Project¶
ARTOS test project consists of two components:
- Test Runner
- Test Case(s)
The project can be configured in many different ways as per the business requirement.
1.1. Recommended Project Structures¶
1.1.1. Feature Structure¶
Packages and sub-packages are organized based on features.
Each package has its own Runner class thus each package acts as a test suite.
1.1.2. Super Structure¶
Packages and sub-packages are organized based on features.
Project contains a single Runner. All test cases are within Runner’s scan scope thus entire project acts as a single test suite.
This can also be achieved by having Runner at project root location.
1.1.3. Tree Structure (Feature Tree)¶
This structure is a mixture of the above structures.
Packages and sub-packages are organized based on features or a test group.
Project contains Runner class at parent/root position as well as inside each feature packages.
The test suite executes limited or all test cases depending on the executed Runner.