-
Notifications
You must be signed in to change notification settings - Fork 749
Automated Testing
Julia Nguyen edited this page Dec 24, 2018
·
6 revisions
Apart from syncing the codebase, you must periodically update and migrate the database before running the app locally. Please run the following commands before reporting any problems encountered while starting the app:
gem update
bundle install
bin/rails db:migrate RAILS_ENV=development
In one terminal tab, run bin/start_app
which runs bundle exec foreman start client -f Procfile.dev
.
In a second terminal tab, run bundle exec rails s
.
This will allow you to place debugger
in Ruby files and successfully debug.
We are using Selenium with Chrome for web browser automation. Always write tests for the changes you've made! If you see any missing tests, write them!