Releases: tdomzal/junit-docker-rule
Releases · tdomzal/junit-docker-rule
v0.2
New features:
- static (#23) and dynamic (#27) container linking
(static and
dynamic example) - (#24) wait for specific sequence of messages
(instead single message) in output at container start
(example) - (#2) wait for http url and tcp socket open on container start
(examples: tcp socket wait
and http wait).
See notes - (#29) expose specified container port to random host port
(example)
v0.1.1
v0.1
First stable version.
Features:
- use it as JUnit @rule or @ClassRule
- specify image name/tag
- specify container name (equivalent of command line
--name
) - pass environment variables (
--env
or-e
) - publish all exposed port to dynamically allocated host ports (
--publish-all
or-P
) - publish specified container ports to specified host ports (
-p
- tcp or udp, no port
ranges support yet) - mount host directory as a data volume (
--volume
or-v
- also works for workstation
dirs to boot2docker container with restriction that dir must be under user homedir) - specify extra /etc/hosts entries (
--add-host
) - access container stderr and stdout (forwarded to java System.err and System.out by
default) - wait for message in output at container start