de.sormuras.mainrunner:mainrunner-api

JUnit Platform Test Engine launching Java programs

License

License

Categories

Categories

ORM Data
GroupId

GroupId

de.sormuras.mainrunner
ArtifactId

ArtifactId

mainrunner-api
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

JUnit Platform Test Engine launching Java programs

Download mainrunner-api

How to add to project

<!-- https://jarcasting.com/artifacts/de.sormuras.mainrunner/mainrunner-api/ -->
<dependency>
    <groupId>de.sormuras.mainrunner</groupId>
    <artifactId>mainrunner-api</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/de.sormuras.mainrunner/mainrunner-api/
implementation 'de.sormuras.mainrunner:mainrunner-api:1.1.0'
// https://jarcasting.com/artifacts/de.sormuras.mainrunner/mainrunner-api/
implementation ("de.sormuras.mainrunner:mainrunner-api:1.1.0")
'de.sormuras.mainrunner:mainrunner-api:jar:1.1.0'
<dependency org="de.sormuras.mainrunner" name="mainrunner-api" rev="1.1.0">
  <artifact name="mainrunner-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.sormuras.mainrunner', module='mainrunner-api', version='1.1.0')
)
libraryDependencies += "de.sormuras.mainrunner" % "mainrunner-api" % "1.1.0"
[de.sormuras.mainrunner/mainrunner-api "1.1.0"]

Dependencies

provided (2)

Group / Artifact Type Version
de.sormuras.mainrunner » mainrunner-api-base-8 jar 1.1.0
de.sormuras.mainrunner » mainrunner-api-java-11 jar 1.1.0

test (1)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter jar 5.4.0-M1

Project Modules

There are no modules declared in this project.

mainrunner

jdk8 jdk11 github actions experimental central

JUnit Platform Test Engine launching Java programs

Usage

  1. Write a plain Java program under src/test/java
  2. Include Mainrunner at test runtime

Gradle Kotlin DSL snippets

dependencies {
    testImplementation("de.sormuras.mainrunner:de.sormuras.mainrunner.engine:$VERSION") {
        because("executes Java programs as tests")
    }
}

Only needed for versions not available on Maven Central

repositories {
    mavenCentral()
    maven(url = "https://dl.bintray.com/sormuras/maven") {
        content {
            includeGroup("de.sormuras.mainrunner")
        }
    }
}

Versions

Version
1.1.0
1.0.0