grails-plugins/grails-redis — pull request #45 by sjurgemeyer (2014-11-03 20:41:10+00:00)
Title: Record and rollback keys in a test

This change intends to make it easier to keep some data populated in redis between
integration tests, while still avoiding test pollution.

I've added TestRedisService which is injected automatically instead of
RedisService during the test phase. TestRedisService is just a wrapper
around RedisService that allows you to turn on recording of inserted keys and
then call a method to delete them all when you're done.