Hi I already have sent an email to couchdb user list [1]. CouchDB doesn't support starting programmatically .
[1] http://mail-archives.apache.org/mod_mbox/incubator-couchdb-user/201607.mbox/%3ccanpzky4tphbhot8veed_6mhpu6tkvflfkw3eh2jhhpzvfnw...@mail.gmail.com%3E 2016-07-08 0:13 GMT+03:00 Renato Marroquín Mogrovejo < renatoj.marroq...@gmail.com>: > 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 >>>> >>> >>> >