Yeah I think for some of the key-value stores there is some type of mock
server, or something like that (Cassandra and HBase do), but I don't know
if for CouchDb is such a thing. Maybe asking in their mailing lists would
be a good option too.


Best,

Renato M.

2016-07-07 22:45 GMT+02:00 Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>:

> Can you not use sone server side couchdb code to start the server,
> trubcate the data after each test then stop the servet once the test suite
> is complete?
> On Jul 7, 2016 9:49 AM, "Cihad Guzel" <cguz...@gmail.com> wrote:
>
>> I asked the question on previous email because I supposed that Gora had
>> supported docker. But Gora doesn't support it.
>> There have already been the answer of my question:
>> https://github.com/testcontainers/testcontainers-java
>>
>>
>> 2016-07-07 19:09 GMT+03:00 Cihad Guzel <cguz...@gmail.com>:
>>
>>> Hi
>>>
>>> I have implemented couchdb datastore[1] on my repo[2]. I want to add
>>> test class. So, I must start couchdb server programmatically. There is a
>>> docker container to test [3]. If so, how can I run a docker container
>>> programmatically while running test.
>>>
>>> [1] https://issues.apache.org/jira/browse/GORA-437
>>> [2] https://github.com/cguzel/gora-couchdb
>>> [3] https://github.com/testcontainers/testcontainers-java
>>> [4]
>>> https://cwiki.apache.org/confluence/display/GORA/Apache+CouchDB+Datastore+Implementation+%28GORA-437%29+Reports
>>>
>>> Thanks
>>>
>>
>>

Reply via email to