Hacker News new | ask | show | jobs
by zmmmmm 989 days ago
Reminds me of power assertions in Groovy - one of my favorite features!
1 comments

Yep they are amazing. Never been a fan of alternative JVM languages, but wrote most tests in Groovy just for this feature.
There is a great library to add power assertions to Kotlin apps:

https://github.com/bnorm/kotlin-power-assert/

You just add the Gradle plugin and you're done.