Skip to content

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:

  1. gem update
  2. bundle install
  3. bin/rails db:migrate RAILS_ENV=development

Debugging With Foreman

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.

Testing Guidelines

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!

Clone this wiki locally