Gradle Plugin

Using the plugin to run a Kahpp instance is not required.
Kahpp Plugin adds a set of tools useful to manage the cases.
Here you can find a Gradle example project.

buildscript {
    repositories {
        mavenCentral()
        maven {
            url "https://maven.pkg.github.com/GetFeedback/kahpp-oss"
        }
    }

    dependencies {
        classpath "dev.vox.platform.kahpp:kahpp-gradle-plugin:0.0.4"
    }
}

plugins {
    id 'org.springframework.boot' version '2.6.4'
}

apply plugin: 'dev.vox.platform.kahpp'

repositories {
    mavenCentral()
    maven {
        url "https://maven.pkg.github.com/GetFeedback/kahpp-oss"
    }
}

dependencies {
    implementation "dev.vox.platform.kahpp:kahpp-spring-starter:0.0.4"
    testImplementation("org.springframework:spring-test:5.3.16")
}

Tasks

List all tasks:

./gradlew tasks --group=kahpp

The plugin provides a series of task that help development.

Name Description
copyConfigFromHelm Generate Test instances
detectHelmToTestDrift Detect if Test and Actual instance don't match
generateTestTasks Generate test task for each Instance on the repo
testAll Run each instance test