-
-
Notifications
You must be signed in to change notification settings - Fork 4
Project structure
Each project has some common directories and files.
/allure-results
/config
/helpers
/page_objects
.reek-yml
.rubocop.yml
Gemfile
Gemfile-lock
Allure results
Contains detailed test executions reports and screenshots.
Config
Configurations files regarding environment, operating systems, platforms and products.
Helpers
Generated helpers for managing the code. Read more about them here: https://github.com/RubyRaider/ruby_raider/wiki/Generators#helper-generator
Page objects
Raider follows page object pattern to maximise code maintainability and readability. This folder contains abstract elements, examples of components and pages.
Reek and Rubocop
Configurations helping to follow Ruby's style guide and syntax conventions. Predefined checks can be enabled or disabled.
Gemfile and Gemfile.lock
Lists of Raider gem dependencies and their specific versions.
/models
/data
model_factory.rb
All web testing frameworks have user data to test against.
/spec
All tests are kept in Spec folder. You may choose to add subdirectories.
/features
/step_definitions
login_steps.rb
/support
login.feature
Features directory contains all the tests, the test steps and support folder that initialises necessary helpers.
This wiki page assumes that development is conducted on a Mac, I will update it soon to add support on other operative systems.