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 1


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.