Stacktrace lost when using custom matcher with should
#3925
Labels
assertions 🔍
Related to the assertion mechanisms within the testing framework.
waiting-for-clarification ❔
Issues with this tag are waiting on the user to provide more information
Which version of Kotest are you using
5.8.0
I have a matcher like this:
On failure
shouldBeEnabled
throws assertion error without full stacktrace which makes it hard to figure out where that assertion failed exactly:When I change
shouldBeEnabled
implementation to this, I get the full stacktrace on failure, am I implementing a custom matcher wrong?The text was updated successfully, but these errors were encountered: