expekt
expekt copied to clipboard
BDD assertion library for Kotlin
As every assertion of `Collection` may also be achieved on the basis of `Iterable`, I did change the basis of `ExpectCollection` class from `Collection` to `Iterable` and renamed it to...
As far as i see there is no easy way to compare the content of two arrays. e.g. I have two ByteArrays. I would expect the following to work: written.readBytes().should.equal(data)...
``` kotlin expect { throw RuntimeException("error") }.to.`throw`.a(RuntimeException::class) ```