Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I would like to write unit test for one of my application which uses Azure Redis Cache. Since I am completely new to writing unit test code using mock/stub/fake, I am looking for help in how I can start with the basic script for mocking/stubbing cache component.
It would be great, if somebody can give a simple example of set and get an object from Redis cache and subsequently the testing code. Thanks!

What I have tried:

I am new to Azure Redis Cache and know basics of writing unit test script.
Posted
Updated 3-Aug-16 22:15pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900