MENU

Fun & Interesting

Testing Functional Kotlin with the Raise DSL: How to Use JUnit, Kotest, MockK, AssertJ and Mockito

Rock the JVM 1,294 8 months ago
Video Not Working? Fix It Now

blog post: https://blog.rockthejvm.com/testing-raise/ Advanced Kotlin course: https://rockthejvm.com/p/advanced-kotlin In this video we'll learn how to integrate popular Kotlin testing libraries (Kotlin Test, Kotest, MockK, Mockito, AssertJ and others) with code written in a functional style with the Arrow library and the Raise DSL. Timeline: 0:00 Intro & setup 3:00 TDD with Arrow, Raise and AssertJ 12:17 Kotest and Fake Objects 20:08 Mocks with MockK and Mockito Related videos: Functional error handling in Kotlin, part 2 - Either & Raise: https://youtu.be/C0B44WBJJmY Follow Rock the JVM on: LinkedIn: https://linkedin.com/company/rockthejvm Twitter: https://twitter.com/rockthejvm Blog: Blog: https://blog.rockthejvm.com ------------------------------------------------------------------------- Home: https://rockthejvm.com -------------------------------------------------------------------------

Comment