Skip to content

Instantly share code, notes, and snippets.

@sergio-sastre
Created July 18, 2021 09:52
Show Gist options
  • Save sergio-sastre/d2319bba774347927567a80ff1c4aed2 to your computer and use it in GitHub Desktop.
Save sergio-sastre/d2319bba774347927567a80ff1c4aed2 to your computer and use it in GitHub Desktop.
Multiplying the quality of your Unit Tests (Part2) with PBT - Jqwik gradle config
android {
...
testOptions {
unitTests.all {
useJUnitPlatform {
//this config supports Jqwik, Junit4 and Junit5
includeEngines 'jqwik', 'junit-jupiter', 'junit-vintage'
}
include '**/*Properties.class'
include '**/*Test.class'
include '**/*Tests.class'
}
}
}
dependencies {
...
testImplementation "net.jqwik:jqwik-api:1.5.1"
testImplementation "net.jqwik:jqwik-engine:1.5.1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment