jameshnsears / junit-docker-http

JUnit 5 Parameter Resolver & API that minimally leverages the Docker Engine API. See Maven Central.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

junit-docker-http Build Status Coverage Status sonarcloud.io Codacy Badge

1. Introduction

  • A "keep it simple" JUnit 5 Parameter Resolver & API that lets you easily:

    • pull docker images - if not already pulled.
    • start containers - with various, optional, parameters - i.e. ports; networks; volumes; commands.
    • stop containers.
  • Uses a simple config.json file to define container setup; then flesh out your test with simple API calls that sit on top of the Docker Enginer API.

1.1. Example Usage - using local path as a volume mount

2. Publishing to Maven Central

2.1. settings.xml

  • decrypt settings.xml.pgp
  • cp settings.xml ~/.m2

2.2. Deploy

export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"

2.2.1. To staging repo

2.2.2 To release repo

About

JUnit 5 Parameter Resolver & API that minimally leverages the Docker Engine API. See Maven Central.

License:Apache License 2.0


Languages

Language:Java 100.0%