Permalink
Browse files

Update DEVELOP.md for test commands

  • Loading branch information...
christophermaier committed Dec 1, 2016
1 parent 372239b commit a67b81510f87c948690768ee538fc429fee566d5
Showing with 11 additions and 4 deletions.
  1. +11 −4 DEVELOP.md
View
@@ -27,21 +27,28 @@ the new go based version, (https://github.com/operable/go-relay)
## Testing
Preliminary database setup:
$ MIX_ENV=test make reset-db
Unit Tests:
$ mix test --exclude=integration
$ make test-unit
Pipeline Integration Tests:
$ mix test --only=integration:general
$ make test-integration
Slack Integration Tests
$ mix test --only=integration:slack
$ make test-slack
Hipchat Integration Tests
$ mix test --only=integration:hipchat
$ make test-hipchat
Slack and HipChat tests require credentials provided as environment variables. See the `SLACK_*` and `HIPCHAT_*` variables, respectively, in [The Cog Book](https://cog-book.operable.io/#_cog_server_configuration)
HTTP requests in integration tests are recorded and stubbed out for future test
runs. Recording new cassettes, json files of serialized requests and responses,

0 comments on commit a67b815

Please sign in to comment.