It's not automatic, but you can use the memory backend, and add the
{test, true} setting to the riak_kv section of app.config. Then when
you want to clear them, riak_kv_memory_backend:reset(). (From your
test suite you might need to rpc:call/4 that).On Tue, Feb 5, 2013 at 7:16 AM, Pablo Vieytes <[email protected]> wrote: > Hi, > what is the best way for writing erlang test against Riak? > > I want to write some common tests and I like to start with an empty db. > > I saw that Ripple has an in-memory test server. Is there anything similar > for erlang? > > Thanks. > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > -- Sean Cribbs <[email protected]> Software Engineer Basho Technologies, Inc. http://basho.com/ _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
