Hi there. I really love `confirmVerified(…)` thing...
# mockk
j
Hi there. I really love
confirmVerified(…)
thingie, I use it whenever possible but… is it possible to have this confirmVerified ignore calls to properties? At least to all the getters
MyClass(#NN).getXyz()
?
m
i think that can be done, it should be a matter recognizing property getter calls in
confirmVerified
and skipping them I’d gladly review a PR about this 🙂
j
I’ll see what I can do 🙂
Oh bummer. So I created a feature for that, but decided to also update README before creating PR. And lo and behold, I saw there’s already something similar called “excludeRecords” which basically does what I need, in much cleaner way. No need for the PR then 🙂
📖 1
m
oh, sorry I hadn’t realized and had you working on something that was already there 😞
j
next time, I’ll start with careful reading of Readme, lesson learned 🙂
nah, it’s not wasted time, a learned a bit more about mockk internals and came to appreciate it even more. what a wonderful piece of software!