Перейти к содержимому

Getting Started with MockK in Kotlin (1/5)

Codersee- Kotlin on the backend

0:00 / 0:00

Getting Started with MockK in Kotlin (1/5)

1 883 просмотра · 1 год назад
Codersee- Kotlin on the backend
2,49 тыс. подписчиков
1 883 просмотра · 1 год назад
In the first video in a series dedicated to MockK and Kotlin, we will learn how to create mocks, define stubbings, and utilize matchers. 🛑 🛑The most comprehensive Ktor course🛑 🛑 https://codersee.com/courses/ktor-ser... ✅ 15 hours of video content ✅ 120 practical and 19 theoretical lessons ✅ closed Discord community ✅ private GitHub repository === LEARN EVERYWHERE === 🔹   / pjoterwolak   🔹  / pjoterwolak   🔹  / codersee   🔹https://t.me/codersee 🔹  / pjoterwolak   🔹  / 73449452   🔹https://t.me/codersee ========================== === 00:00 Intro 00:28 Why do we need mocking? 01:52 Mocking, Stubbing, Test Doubles 03:08 MockK Imports 04:17 Implementing code to test 11:18 Add tests 18:46 Defining mocks with MockK 21:46 Missing Stubbing 23:24 Stubbing in MockK 25:11 MockK Matchers 27:30 Unit Functions ===