eu.coldrye.junit:junit-env-extension

Extension for JUnit5 for managing set up and tear down of environments during testing

License

License

Categories

Categories

JUnit Unit Testing
GroupId

GroupId

eu.coldrye.junit
ArtifactId

ArtifactId

junit-env-extension
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

eu.coldrye.junit:junit-env-extension
Extension for JUnit5 for managing set up and tear down of environments during testing
Project URL

Project URL

https://github.com/coldrye-java/junit-testing/tree/master/junit-env-extension

Download junit-env-extension

How to add to project

<!-- https://jarcasting.com/artifacts/eu.coldrye.junit/junit-env-extension/ -->
<dependency>
    <groupId>eu.coldrye.junit</groupId>
    <artifactId>junit-env-extension</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/eu.coldrye.junit/junit-env-extension/
implementation 'eu.coldrye.junit:junit-env-extension:1.0.4'
// https://jarcasting.com/artifacts/eu.coldrye.junit/junit-env-extension/
implementation ("eu.coldrye.junit:junit-env-extension:1.0.4")
'eu.coldrye.junit:junit-env-extension:jar:1.0.4'
<dependency org="eu.coldrye.junit" name="junit-env-extension" rev="1.0.4">
  <artifact name="junit-env-extension" type="jar" />
</dependency>
@Grapes(
@Grab(group='eu.coldrye.junit', module='junit-env-extension', version='1.0.4')
)
libraryDependencies += "eu.coldrye.junit" % "junit-env-extension" % "1.0.4"
[eu.coldrye.junit/junit-env-extension "1.0.4"]

Dependencies

compile (5)

Group / Artifact Type Version
eu.coldrye.junit : junit-common jar 1.2.0
org.junit.platform : junit-platform-launcher jar 1.2.0
org.junit.jupiter : junit-jupiter-api jar 5.2.0
org.slf4j : slf4j-api jar 1.7.25
org.junit.platform : junit-platform-commons jar 1.2.0

provided (1)

Group / Artifact Type Version
org.apiguardian : apiguardian-api jar 1.0.0

test (12)

Group / Artifact Type Version
eu.coldrye.junit : junit-testing-common jar 1.0.2
eu.coldrye.junit : enum-test-base jar 1.0.0
org.springframework : spring-test jar 5.0.4.RELEASE
org.springframework : spring-context jar 5.0.2.RELEASE
org.springframework : spring-tx jar 5.0.2.RELEASE
org.springframework : spring-web jar 5.0.2.RELEASE
javax.servlet : javax.servlet-api jar 3.0.1
org.junit.platform : junit-platform-engine jar 1.2.0
org.junit.jupiter : junit-jupiter-engine jar 5.2.0
org.junit.platform : junit-platform-runner jar 1.2.0
org.mockito : mockito-all jar 1.10.19
uk.org.lidalia : slf4j-test jar 1.2.0

Project Modules

There are no modules declared in this project.

junit-testing

This project aims to provide you with useful extensions for and other additions to JUnit5.

junit-common

Provides commonly used code for junit-testing projects.

junit-testing-common

Provides commonly used test code for junit-testing projects.

enum-test-base

Abstract test base class for enums. The default behaviour is to ensure 100% coverage on standard enums, so there is no longer an excuse for you not to write any tests for your enums.

file-assertions

Assertions for files and their content.

junit-env-extension

The extension provides you with an infrastructure for setting up and tearing down long running environments during your tests, something that you would not want to do before or after each test or before or after each test class.

For example starting and stopping an embedded Hadoop mini cluster or an embedded Kafka. Another example would be to pull and start a given docker image before that the first test is executed and tear it down when all tests have been executed.

junit-env-hadoop-mini-clusters

Work in progress.

References

eu.coldrye.junit
coldrye sub organization for the Java language ecosystem

Versions

Version
1.0.4
1.0.3
1.0.2
1.0.0