So i'm looking into databases and I want to use Redis, but I would like to know how I would go about writing tests for a database such as this before starting with it.
1 Answer
You start by determining what functionality you expect from it (saving value, retrieve it later, etc) and writing tests for it. It is not different that would be writing tests for any other API.
-
This API is a little more complicated than "any other API". See aphyr.com/posts/283-call-me-maybe-redis for example.– user246Commented Feb 19, 2015 at 2:40