Fork me on GitHub

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 in scenarios, see below
    • model package (optional) – may contain data model of the tested system
    • utils 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 data
    • environments folder – property files for various environments
    • other configuration files for logging, ssh, databases, etc.

Next: Adding Tests