Getting Started With MockK: The Setup (opens in new tab)

Covered by baeldung.com

This blog post describes how we can configure the system under test and replace its dependencies with mocks when we are writing unit tests for a Kotlin application by using JUnit Jupiter and MockK. We will learn to get the required dependencies and configure the system under test by using both manual and extension-based configuration. Read More The post Getting Started With MockK: The Setup appeared first on Petri Kainulainen.

Read the original article
Sign in to keep reading the full article.

Covered in 1 article

baeldung.com·
Feeds

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help