From 9402908db9e47bcd024a9f1b303988705f36fb91 Mon Sep 17 00:00:00 2001 From: "Julian Doherty (madlep)" Date: Thu, 4 Aug 2016 21:49:43 +1000 Subject: [PATCH 1/2] added discussion about how to run test suite --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index a423a22..5d0c820 100644 --- a/README.md +++ b/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 rspec 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 From 2c853bae9ddd180cb42244f859e1ae20a378956e Mon Sep 17 00:00:00 2001 From: "Julian Doherty (madlep)" Date: Thu, 4 Aug 2016 22:51:14 +1000 Subject: [PATCH 2/2] it's minitest, not rspec --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d0c820..b393cc8 100644 --- a/README.md +++ b/README.md @@ -318,7 +318,7 @@ adhere to the [Code of Conduct](CODE_OF_CONDUCT.md). ### Testing pull requests -To run the rspec test suite, you will need both [Redis](http://redis.io/) and +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.