diff --git a/Development-Environment-Setup:-Ubuntu.md b/Development-Environment-Setup:-Ubuntu.md index 4be1d9c..9c0f240 100644 --- a/Development-Environment-Setup:-Ubuntu.md +++ b/Development-Environment-Setup:-Ubuntu.md @@ -76,3 +76,11 @@ Chrome or Chromium is used for UI testing. This is automated using a driver. Ins sudo apt install -y chromium-browser sudo apt install -y chromium-chromedriver + +## Step 6. Prepare the Database for Testing + +Tests, both unit and integration, are based on RSpec. To run the test suite, first prepare the test database: + +`bundle exec rake db:test:prepare` + +For more details on testing, please check [that section](https://github.com/macanudo527/openfoodnetwork/blob/master/GETTING_STARTED.md#testing) of the GETTING_STARTED guide.