Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.63 KB

README.md

File metadata and controls

35 lines (26 loc) · 2.63 KB

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