The Ruby framework which cover as UI tests, as API tests
Framework build on Ruby 2.7. Main stack:
- ruby
- webdrivers
- cucumber (BDD approach)
- site_prism (Page Object for UI tests)
- rest-client (For API tests)
- docker
- TBD (allure reporting, logging)
To use this framework you need to clone this repo and install rbenv
Simple commands after this:
rbenv install 2.7.1
bundle install
bundle exec cucumber
For docker environment please perform:
docker build -t rubotests .
docker run rubotests
- Add config file (for URLs and browser config)
- Add PR and Issue template (.github folder)
- Add dependency bot (.github folder)
- Add something for CI/CD (CircleCI or github action)
- Add reporting (allure or something from cucumber)
- Add additional tests for test sites