A Gradle plugin for the acceptance test framework Kensa. To use the full functionality of Kensa's @NestedSentence & @RenderedValue annotations (collection and rendering of function arguments), you must apply this plugin to your Kotlin project.
- Applies the Kensa Kotlin compiler plugin
dev.kensa.compiler-plugin - Adds dependency
dev.kensa:kensa-core:<version>with capability to applicable compilations.dev.kensa:core-hooks - Exposes a
kensaextension:enabled: enable/disable compiler plugin (default:true).debug: extra diagnostics from the compiler plugin (default:false).sourceSets: Kotlin compilation names to apply to (default:["test"]).
- Add the plugin to your build.gradle.kts:
- Configure the plugin as needed.
- Build as normal.
plugins {
id("dev.kensa.gradle-plugin") version "<plugin-version>"
}Configure (optional)
kensa {
enabled.set(true) // default true
debug.set(false) // default false
sourceSets.set(setOf("test", "acceptanceTest")) // default "test"
}Build as normal; the plugin attaches to the selected compilations.
User documentation lives at kensa.dev.
Plugin-specific guides:
- Gradle plugin
- Maven plugin
- Site mode — multi-source aggregated reports, including CI / hosted use