Created
July 18, 2021 09:52
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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