mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Merge pull request #195 from envato/add_testing_instructions
added discussion about how to run test suite
This commit is contained in:
commit
8936cc647a
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
|
@ -316,6 +316,23 @@ Pull requests and issues are greatly appreciated. This project is intended to be
|
|||
a safe, welcoming space for collaboration, and contributors are expected to
|
||||
adhere to the [Code of Conduct](CODE_OF_CONDUCT.md).
|
||||
|
||||
### Testing pull requests
|
||||
|
||||
To run the minitest test suite, you will need both [Redis](http://redis.io/) and
|
||||
[Memcached](https://memcached.org/) running locally and bound to IP `127.0.0.1` on
|
||||
default ports (`6379` for Redis, and `11211` for Memcached) and able to be
|
||||
accessed without authentication.
|
||||
|
||||
Install dependencies by running
|
||||
```sh
|
||||
bundle install
|
||||
```
|
||||
|
||||
Then run the test suite by running
|
||||
```sh
|
||||
bundle exec rake
|
||||
```
|
||||
|
||||
## Mailing list
|
||||
|
||||
New releases of Rack::Attack are announced on
|
||||
|
|
|
|||
Loading…
Reference in a new issue