There's a new Apache Commons Testing < https://github.com/apache/commons-testing> in development where it may also be appropriate.
On 16 February 2018 at 05:52, Christian Schneider <[email protected]> wrote: > I did some research and found these projects: > - https://github.com/geowarin/docker-junit-rule > - https://github.com/palantir/docker-compose-rule > > The first project is just a one man show but the second seems to have a > community behind it. > Both allow to start docker from the junit test. > > There is also this article from codecentric: > - https://blog.codecentric.de/en/2017/03/writing-integration-tests-docker- > compose-junit/ > > Anyway it seems that maybe there are already good libraries out there. > Does any of you have tested any of these or used something else? > > Christian > > > 2018-02-16 12:39 GMT+01:00 Christian Schneider <[email protected]>: > >> At Adobe we created a small project to start docker containers before a >> junit test and reliably stop them after the test. As this is of very >> general use I wonder if it would make sense to open source this. I am >> currently checking internally if we can do this. >> >> In parallel I also wanted to check if there are existing alternatives out >> there and if none are suitable as a replacement if the ops4j community >> would be interested to host such a project. >> >> I am pretty sure that there is already good support to manage docker >> instances as a maven plugin. One interesting property of our impl is that >> the start / stop of docker is controlled from java. So you can simply run >> the junit test from eclipse and it does the docker management transparently. >> >> Christian >> >> -- >> -- >> Christian Schneider >> http://www.liquid-reality.de >> >> Computer Scientist >> http://www.adobe.com >> >> > > > -- > -- > Christian Schneider > http://www.liquid-reality.de > > Computer Scientist > http://www.adobe.com > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Matt Sicker <[email protected]> -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
