Skip to content

symbiod/symbiod-features

Repository files navigation

Build Status

symbiod-features

Cucumber/Watir features for symbiod project

  • run rspec
  • build app image
  • run docker-compose at features

Running features

Quick local run

To run natively on dev machine:

  1. Clone repository and go to symbiod-features

  2. Create folder artifacts mkdir artifacts

  3. Configure the connection to the database features/support/database.yml.sample cp features/support/database.yml.sample features/support/database.yml

  4. bundle

  5. Environment variables

  6. Install Chrome and chromedriver

  7. Go to symbiod project dir and run RAILS_ENV=features rake assets:precompile RAILS_ENV=features rails server

  8. Go to symbiod-features and run cucumber

To run features in headless mode(without real browser window) use:

HEADLESS=true cucumber

If you need to debug some feature, use DEBUG=true cucumber, it will run PRY session on the first failure.

Dockerized run

  • Go to symbiod project dir and run bin/build
  • Go to symbiod and run bin/run

Keep in mind that dockerized run may take longer, so it makes sense to use it for final run, before pushing branch.

About

Cucumber/Watir features for symbiod project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published