Skip to content

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

License

Notifications You must be signed in to change notification settings

jameshnsears/junit-docker-http

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages