Hi - I saw this announcement of language support f...
# strikt
d
Hi - I saw this announcement of language support for Power Assert in Kotlin 2.0, and wondered where Strikt might be able to make use of it?
r
That’s a great question. It could for sure improve diagnostic output from failed assertions. I will start giving this some thought. Formatting assertion output is one of the most frustrating parts of Strikt, If this can make it easier I’m all for it.
The trick to using power assert effectively is to give it a lot of context (in that screenshot for example, if you had stored the two calculations in variables the assertion output would be much less useful). That will be important to preserve when using contextual blocks or chains in strikt
👍 1