Skip to content

Commit 8936cc6

Browse files
authored
Merge pull request rack#195 from envato/add_testing_instructions
added discussion about how to run test suite
2 parents 68158ee + 2c853ba commit 8936cc6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,23 @@ Pull requests and issues are greatly appreciated. This project is intended to be
316316
a safe, welcoming space for collaboration, and contributors are expected to
317317
adhere to the [Code of Conduct](CODE_OF_CONDUCT.md).
318318

319+
### Testing pull requests
320+
321+
To run the minitest test suite, you will need both [Redis](http://redis.io/) and
322+
[Memcached](https://memcached.org/) running locally and bound to IP `127.0.0.1` on
323+
default ports (`6379` for Redis, and `11211` for Memcached) and able to be
324+
accessed without authentication.
325+
326+
Install dependencies by running
327+
```sh
328+
bundle install
329+
```
330+
331+
Then run the test suite by running
332+
```sh
333+
bundle exec rake
334+
```
335+
319336
## Mailing list
320337

321338
New releases of Rack::Attack are announced on

0 commit comments

Comments
 (0)