expekt
expekt copied to clipboard
Expect methods for Exceptions
expect { throw RuntimeException("error") }.to.`throw`.a(RuntimeException::class)
Good advice. I'd go for a similar API like this.
I'll like into this as soon as a find the time, hopefully this weekend.