Home - nebula-plugins/nebula-test GitHub Wiki

Classes specific to testing a Gradle project, leveraging Spock.

Depending on nebula-test

repositories {
    mavenCentral()
}

test {
    useJUnitPlatform()
}

dependencies {
    testImplementation 'com.netflix.nebula:nebula-test:latest.release'
}

Spock Tests

This library provides spock base classes which can be extended to run certain types of tests without boilerplate. See the "Types of Tests" section in the sidebar for more information on these.

TestKit DSL Tests

This library also provides a fluent builder (aka DSL) for TestKit project-based tests. See TestKit DSL for more information.