Skip to content

Latest commit

Β 

History

History
38 lines (27 loc) Β· 766 Bytes

README.md

File metadata and controls

38 lines (27 loc) Β· 766 Bytes

JUnit5 Christmas Decorations

Decorations

Usage

Gradle

repositories {
    mavenCentral()
    maven {
        url 'https://jitpack.io'
    }
}

dependencies {
    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
    testImplementation 'com.github.bmuskalla:junit5-christmas-decoration:main-SNAPSHOT'
}

Enable globally

-Djunit.jupiter.displayname.generator.default=io.bmuskalla.junit5.christmas.decoration.JUnitChristmasDecorations

Enable per test

@DisplayNameGeneration(JUnitChristmasDecorations.class)
public class FooTest {
}