Folder Structure
In order to find where things are located we need to follow these conventions:
- src/main/java - contains: states, actions, verifications and
other utility code
stepspackage – steps used inscenarios, see belowmodelpackage (optional) – may contain data model of the tested systemutilspackage (optional) – may contain utility code
- src/test/java
scenariospackage – contains test flows; these are using the fixtures, actions and verifications from src/main/java
- src/test/resources
scenariospackage – may contain test data files, namely static dataenvironmentsfolder – property files for various environments- other configuration files for logging, ssh, databases, etc.
Next: Adding Tests