expekt icon indicating copy to clipboard operation
expekt copied to clipboard

BDD assertion library for Kotlin

Results 13 expekt issues
Sort by recently updated
recently updated
newest added

Bumps [kotlin-stdlib](https://github.com/JetBrains/kotlin) from 1.0.3 to 1.6.0. Release notes Sourced from kotlin-stdlib's releases. Kotlin 1.6.0 Changelog Android KT-48019 Bundle Kotlin Tooling Metadata into apk artifacts KT-47733 JVM / IR: Android Synthetic...

dependencies

I add option to customize the AssertionError message like in chai.js

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...

dependencies

Is there anyway you can support multi-line matching? :smile: ```kotlin """ This is some multiline 123 text """.trimIndent().should.match("some multiline \\d+".toRegex(RegexOption.MULTILINE)) ```

Apologies for the noise, but just wanted to voice my appreciation for this project. I've been using it for a long time (1.5 years?), and it's become central to all...

It seams that framwork doesn't provide any way to check that tested code throws exception of specific kind. I guess test code can use try/catch, do fail if rich the...

* It can use Closure and test exception. * `raise` check exception type strictly. * It will fail when Closure does not throw expected exception. * `raiseAny` check exception type...

Subject and words of `ExpectAny` should be accessible publicly so that we can write extension functions for own assertions on the subject with own words being logged. The following for...

Borrowing from [Fluent Assertions](http://fluentassertions.com/documentation.html#collections), it would be quite convenient to have lambda-based assertions for collections: ```kotlin class Thing(val name) val collection = arrayListOf(Thing("a"), Thing("b"), Thing("c")) collection.should.contain({ it.name == "a" })...