Skip to content

Commit

Permalink
Add test instructions to the Contributing section of README.
Browse files Browse the repository at this point in the history
  • Loading branch information
wetzler committed Dec 9, 2013
1 parent 1514cc1 commit e491b38
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,17 @@ at [users.keen.io](http://users.keen.io). We'd love to hear your feedback and id
keen-gem is an open source project and we welcome your contributions.
Fire away with issues and pull requests!

#### Running Tests
`bundle exec rake spec` - Run unit specs. HTTP is mocked.
`bundle exec rake integration` - Run integration specs. Interacts with the real API, and requires environment variables to be set. See [.travis.yml](https://github.com/keenlabs/keen-gem/blob/master/.travis.yml).
`bundle exec rake synchrony` - Run async publishing specs with `EM::Synchrony`.

Similarly, you can use guard to listen for changes to files and run specs.

`bundle exec guard -g unit`
`bundle exec guard -g integration`
`bundle exec guard -g synchrony`

### Community Contributors
+ [alexkwolfe](https://github.com/alexkwolfe)
+ [peteygao](https://github.com/peteygao)
Expand Down

0 comments on commit e491b38

Please sign in to comment.