Releases
v0.18
Compare
Sorry, something went wrong.
No results found
evant
released this
13 Jul 14:13
Added
Add extracting to allow extracing a value for each item in an array.
Add Assert<Result<T>>.isSuccess() and Assert<Result<T>>.isFailure() to replace AssertBlock assertions.
Add messageContains for throwable.
Changed
Minimum supported kotlin version is 1.3.40
assertThat {} and catch {} are inlined for better coroutine support
Improved display of Pair and Triple
Breaking Changes
AssertBlock is removed and it's methods have been turned into extension functions on Assert<Result<T>>.
You can migrate by:
Alt-enter on returnedValue, thrownError, and doesNotThrowAnyException and select import.
Alt-enter on the deprecated version of above and choose replace with...
If your expression only has 1 value, you can replace ex: isSucess().all { isEqualTo(1) } with isSuccess().isEqualTo(1)
Deprecated
Deprecated catch in favor of assertThat {}.isFailure()
You can’t perform that action at this time.