Join Slack
Menu
Home
Archive
why does MockkException extend RuntimeException and not AssertionError?
# mockk
c
christophsturm
08/17/2021, 3:52 PM
why does MockkException extend RuntimeException and not AssertionError?
m
Mattia Tommasone
08/17/2021, 10:14 PM
this is a good question i don’t really have an answer for 🙂
c
christophsturm
08/18/2021, 6:50 AM
I had the problem that when a mock setup is missing my my app code just catches RuntimeException, AssertionError would bubble up.
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by