Skip to content

Commit 1c8d3e5

Browse files
committed
docs: add instructions on running specs
1 parent ede6aa5 commit 1c8d3e5

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

DEVELOPER_SETUP.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Developer setup
22

3-
* You will need to install Ruby 2.4, and preferably a ruby version manager. I recommend using [chruby][chruby] and [ruby-install][ruby-install].
3+
* You will need to install Ruby 2.5, and preferably a ruby version manager. I recommend using [chruby][chruby] and [ruby-install][ruby-install].
44
* Install bundler (the Ruby gem dependency manager) `gem install bundler`
55
* Check out the pact_broker repository and cd into it.
66
* Run `bundle install`. If you have not got mysql or postgres installed locally, comment out the `mysql2` and `pg` development dependency lines in `pact_broker.gemspec`, as these are only really required on Travis.
@@ -13,5 +13,19 @@
1313

1414
* The application will be available on `http://localhost:9292`
1515

16+
## Running the tests
17+
18+
To run everything (specs, pact verifications, vulnerability scan...):
19+
20+
`bundle exec rake`
21+
22+
To run a smaller subset of the tests:
23+
24+
`bundle exec rake spec`
25+
26+
To run the "quick tests" (skip the lengthy migration specs)
27+
28+
`bundle exec rake spec:quick`
29+
1630
[chruby]: https://github.com/postmodern/chruby
1731
[ruby-install]: https://github.com/postmodern/ruby-install

0 commit comments

Comments
 (0)