Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. // add a plugin
  2. apply plugin: 'de.mannodermaus.android-junit5'
  3.  
  4. android {
  5.  
  6. // update test options
  7. testOptions {
  8. junitPlatform {
  9. filters {
  10. engines {
  11. include 'spek2'
  12. }
  13. }
  14. }
  15. }
  16. }
  17.  
  18. // add dependencies
  19. dependencies {
  20. testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
  21. testImplementation "org.spekframework.spek2:spek-dsl-jvm:2.0.1"
  22. testImplementation "org.spekframework.spek2:spek-runner-junit5:2.0.1"
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement