From abcb71f8b37578cf8ede91d3de89968c329d75ee Mon Sep 17 00:00:00 2001 From: Kristina Lim Date: Tue, 20 Nov 2018 21:35:53 +1100 Subject: [PATCH] Document running app engine RSpec tests --- GETTING_STARTED.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 93cff8dad0..5a2e7eea54 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -69,10 +69,14 @@ Tests, both unit and integration, are based on RSpec. To run the test suite, fir bundle exec rake db:test:prepare -Then the tests can be run with: +Then the main application tests can be run with: bundle exec rspec spec +The tests of all custom engines can be run with: + + bundle exec rake openfoodnetwork:specs:engines:rspec + Note: If your OS is not explicitly supported in the setup guides then not all tests may pass. However, you may still be able to develop. Get in touch with the [#dev][slack-dev] channel on Slack to troubleshoot issues and determine if they will preclude you from contributing to OFN. Note: The time zone on your machine should match the one defined in `config/application.yml`.