#TIL that mocking for #kotlin in #quarkus is quite fun with #mockk https://mockk.io and https://quarkiverse.github.io/quarkiverse-docs/quarkus-mockk/dev/index.html . I now use mockk in favor of #mockito for programming in kotlin and quarkus because of the support for coroutines.
#TIL #kotlin #quarkus #mockk #mockito
RT @jbnizet@twitter.com
If you use #Kotlin and want to enjoy Spring Boot 2.4 nested tests with #MockK, I just released SpringMockK 3.0.0. https://github.com/Ninja-Squad/springmockk/releases/tag/3.0.0 https://twitter.com/ankinson/status/1326933534909542402
π¦π: https://twitter.com/jbnizet/status/1328053246741647360
RT @YannickDeTurck@twitter.com
Thanks to all for attending my @DevoxxFR@twitter.com talk on #MockK! Slides are available on https://speakerdeck.com/yannickdeturck/mockk-the-idiomatic-mocking-framework-for-kotlin-devoxx-fr-2019-yannick-de-turck #MockK #DevoxxFR #Java @Kotlin@twitter.com #mocking #unittesting #conference #JWorks
π¦π: https://twitter.com/YannickDeTurck/status/1118932509683744769
#mockk #devoxxfr #java #mocking #unittesting #conference #jworks
RT @sdeleuze@twitter.com
Big update of the official @SpringBoot@twitter.com + @Kotlin@twitter.com tutorial:
- #Mockk instead of Mockito
- Follows @jbnizet@twitter.com JPA guidelines (var instead of val, no data class)
- Maven + Gradle build
- Nullable instead of Optional for CrudRepository
- Spring Boot 2.1.3
https://spring.io/guides/tutorials/spring-boot-kotlin/
π¦π: https://twitter.com/sdeleuze/status/1096423498325651459
RT @sdeleuze@twitter.com
Kofu DSL for @SpringBoot@twitter.com now allows to customize an existing application, pretty useful for tests with #MockK. Next step will be working with @jbnizet@twitter.com on a functional equivalent of @MockBean@twitter.com -> https://github.com/spring-projects/spring-fu/issues/151.
π¦π: https://twitter.com/sdeleuze/status/1091284631167647744