From 199089ce488ec54ede125ae15b3c6da52483b9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Tue, 5 Jun 2018 22:42:50 +0200 Subject: [PATCH] Add instructions for running the test suite --- INSTALL.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 2a06fc2..6947351 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -17,6 +17,13 @@ You can customize `config/database.yml` for your needs, but by default, Rails is Execute `# bundle install` to install Ruby dependencies. Execute `# yarn install` to install Javascript dependencies. +### Tests + +The test suite can be run with `# bundle exec rails test`. +This will also generate a code coverage report in `coverage/index.html`. + +With `# bundle exec guard` your test suite is run once and then once for each file you change and save. Take a look at https://guardgem.org for more information. + ### Local execution If you want to start the Rails application manually, with a simple Puma configuration, you have to execute `# bundle exec rails server`.