README.md in fake_sqs-0.0.9 vs README.md in fake_sqs-0.0.10
- old
+ new
@@ -53,10 +53,19 @@
```
$ fake_sqs --help
```
+By default, FakeSQS uses an in-memory database (just a hash actually). To make
+it persistant, run with:
+
+```
+$ fake_sqs --database /path/to/database.yml
+```
+
+Messages are not persisted, just the queues.
+
This is an example of how to configure the official [aws-sdk gem] [aws-sdk], to
let it talk to Fake SQS.
``` ruby
AWS.config(
@@ -142,9 +151,27 @@
describe "something with sqs", :sqs do
it "should work" do
queue = AWS::SQS.new.queues.create("my-queue")
end
end
+```
+
+## Development
+
+Run all the specs:
+
+```
+$ rake
+```
+
+This will run the unit tests, then the acceptance tests for both types of
+storage (in-memory and on disk).
+
+When debugging an acceptance test, you can run it like this, which will redirect
+output to the console:
+
+```
+$ DEBUG=true SQS_DATABASE=tmp/sqs.yml rspec spec/acceptance
```
[fake_dynamo]: https://github.com/ananthakumaran/fake_dynamo
[aws-sdk]: https://github.com/amazonwebservices/aws-sdk-for-ruby