Lines Matching +full:mockito +full:- +full:kotlin
1 # Mockito-Kotlin chapter
2 …-badges.herokuapp.com/maven-central/org.mockito.kotlin/mockito-kotlin/badge.svg) ](https://maven-b…
4 …ary that provides helper functions to work with [Mockito](https://github.com/mockito/mockito) in K…
8 Mockito-Kotlin is available on Maven Central and JCenter.
12 testImplementation "org.mockito.kotlin:mockito-kotlin:x.x.x"
17 A test using Mockito-Kotlin typically looks like the following:
19 ```kotlin
36 For more info and samples, see the [Wiki](https://github.com/mockito/mockito-kotlin/wiki).
40 Mockito-Kotlin is built with Gradle.
42 - `./gradlew build` builds the project
43 - `./gradlew publishToMavenLocal` installs the maven artifacts in your local repository
44 - `./gradlew assemble && ./gradlew test` runs the test suite (See Testing below)
48 Mockito-Kotlin roughly follows SEMVER; version names are parsed from
53 Mockito-Kotlin's test suite is located in a separate `tests` module,
54 to allow running the tests using several Kotlin versions whilst still
61 - `./gradlew assemble` builds the base artifact
62 - `./gradlew test` runs the tests against the built artifact.
64 Usually it is enough to test only using the default Kotlin versions;
66 If you want to test using a different Kotlin version locally, set
71 …mockito-kotlin` was created and developed by [nhaarman@](https://github.com/nhaarman) after which …
72 …o thank Niek for the original idea and extensive work plus support that went into `mockito-kotlin`.