Hi Luca, I guess you mean the maven profile. Please correct me if I'm wrong. Currently I need to user -Pdocker to enable the docker related test in my project.
I'm not sure if we enable the profile by default if there is a docker command in the box. Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wed, May 23, 2018 at 2:22 PM, Luca Burgazzoli <lburgazz...@gmail.com> wrote: > Hi Zoran, > > On Tue, May 22, 2018 at 10:03 PM, Zoran Regvart <zo...@regvart.com> wrote: > > Hi Luca, > > sounds like a good idea, would be really good if we transitioned (no > > need for a big bang), to JUnit 5 then we could use conditional logic > > to skip those tests if for instance docker is not available. > > > > I would also consider marking those as integration tests so they are > > run only if we want them to be run, or in environments that we know > > they'll run without issues. > > > > As first iteration I'd use profiles, junit 5 is not exatly as easy as > junit 4 is. > > > zoran > > > > On Tue, May 22, 2018 at 5:35 PM, Luca Burgazzoli <lburgazz...@gmail.com> > wrote: > >> Hi all, > >> > >> I've been using testcontainers [1] for a while and I found it useful > >> to test against non java services such as consul, etcd and so on so > >> I'd like to create a camel-testcontainers "component" that includes > >> some facilities like a dedicated test support that take care of > >> starting/stopping containers. > >> > >> Any objection/suggestion ? > >> > >> Regards, > >> Luca > >> > >> [1] https://www.testcontainers.org/ > >> > >> > >> --- > >> Luca Burgazzoli > > > > > > > > -- > > Zoran Regvart >