Skip to content

Commit

Permalink
docs: update developer setup [ci-skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Feb 1, 2021
1 parent 6230aec commit 361a969
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions DEVELOPER_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,15 @@ mysql -hmysql -upact_broker -ppact_broker
```sh
bundle exec rake
```
* To set up the database (this is done automatically when running the default rake task, but if you want to run a different task without running the default task first, this must be run once beforehand):
```sh
bundle exec rake db:prepare:test
```
* To run a smaller subset of the tests:
```sh
bundle exec rake spec
```
* To run the "quick tests" (skip the lengthy migration specs)
* To run the "quick tests" (skip the lengthy migration specs and db setup)
```sh
bundle exec rake spec:quick
```
Expand All @@ -94,7 +98,5 @@ mysql -hmysql -upact_broker -ppact_broker
bundle exec rspec path_to_your_spec.rb
```

NOTE: the spec tasks requires the `db:prepare:test` task to be executed at least once prior to running.

[chruby]: https://github.com/postmodern/chruby
[ruby-install]: https://github.com/postmodern/ruby-install

0 comments on commit 361a969

Please sign in to comment.