Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // add a plugin
- apply plugin: 'de.mannodermaus.android-junit5'
- android {
- // update test options
- testOptions {
- junitPlatform {
- filters {
- engines {
- include 'spek2'
- }
- }
- }
- }
- }
- // add dependencies
- dependencies {
- testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
- testImplementation "org.spekframework.spek2:spek-dsl-jvm:2.0.1"
- testImplementation "org.spekframework.spek2:spek-runner-junit5:2.0.1"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement