Is there a way to twek the kotest plugin so i can ...
# kotest
t
Is there a way to twek the kotest plugin so i can navigate to the failing assertion by double clicking it in the results view (as i am used to do from plain junit tests)?
s
If you use the plugin it should work if you run via the intellij runner instead of gradle
Gradle is just broken so it won't support nested tests.
t
ah thanks. thats a little better. although it only navigates to the
describe
method call, not to the actual line of the failing assertion. I guess thats a kotlin thing? it was pretty much the same with assertk...
j
Hmmm I have to line navigation 🤔
s
The stack trace should include the actual line
Is the stack trace not clickable
t
strange. the acutal line appears somewhere in the trace and i can click it
s
There you go, the kotest lines should mostly be folded away
t
@sam what do you mean by that?
s
The stack trace shouldn't include a lot of io.kotest lines so it should be cleaner. Intellij should collapse them.
t
yeah it doesnt. most lines at the top of the stack trace are from mockk 😄
but again, this wont be a kotest issue then. thanks 🙂
👍🏻 1