0.02
No commit activity in last 3 years
No release in over 3 years
Simple key/value mocked storage system
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.0.21
= 0.10.0
= 0.9.2.2
 Project Readme

Memcache Mock

Simple library to mock a key/value storage system.

The API is based in the Dalli Memcache Ruby Client. So any time you need to mock your code that integrates Dalli you can exponse an instance of MemcacheMock instead.

Use

require "memcache_mock"

cache = MemcacheMock.new
cache.set( "key", "value" )
cache.get( "key" )            # => "value"

Status

The actual status is Beta but functional. The API only supports the methods we have needed so far.

If you have any suggestion we'll appreciate pull requests.