You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Gary Gregory <ga...@gmail.com> on 2017/10/20 00:17:05 UTC

Testing log4j-mongodb

Hi All:

In order to do integration tests with MongoDB, we should depend on and use:

    <dependency>
      <groupId>de.flapdoodle.embed</groupId>
      <artifactId>de.flapdoodle.embed.mongo</artifactId>
      <version>2.0.0</version>
      <scope>test</scope>
    </dependency>

This is what I did at work and it works like a charm.

Gary

Re: Testing log4j-mongodb

Posted by Matt Sicker <bo...@gmail.com>.
As for CouchDB, if we can embed it in an integration test, I think that
would be good enough.

On 19 October 2017 at 19:17, Gary Gregory <ga...@gmail.com> wrote:

> Hi All:
>
> In order to do integration tests with MongoDB, we should depend on and use:
>
>     <dependency>
>       <groupId>de.flapdoodle.embed</groupId>
>       <artifactId>de.flapdoodle.embed.mongo</artifactId>
>       <version>2.0.0</version>
>       <scope>test</scope>
>     </dependency>
>
> This is what I did at work and it works like a charm.
>
> Gary
>



-- 
Matt Sicker <bo...@gmail.com>