21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-04 09:45:09 +02:00

Add instructions for running the test suite

This commit is contained in:
Jérémy Lecour 2018-06-05 22:42:50 +02:00
parent 78be2e938b
commit 1f60e96e14

View file

@ -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`.