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
steps
package – steps used inscenarios
, see belowmodel
package (optional) – may contain data model of the tested systemutils
package (optional) – may contain utility code
- src/test/java
scenarios
package – contains test flows; these are using the fixtures, actions and verifications from src/main/java
- src/test/resources
scenarios
package – may contain test data files, namely static dataenvironments
folder – property files for various environments- other configuration files for logging, ssh, databases, etc.
Next: Adding Tests