erlang client tests

Sean Cribbs sean at basho.com
Tue Feb 5 10:10:04 EST 2013


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 <pablo.vb80 at gmail.com> 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
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Sean Cribbs <sean at basho.com>
Software Engineer
Basho Technologies, Inc.
http://basho.com/




More information about the riak-users mailing list