strikt
kotlin-power-assert
Our great sponsors
strikt | kotlin-power-assert | |
---|---|---|
2 | 2 | |
528 | 552 | |
- | - | |
6.6 | 3.9 | |
5 months ago | about 1 month ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
strikt
-
Kotlin assertion libraries - JUnit, Hamkrest and Strikt
In this episode we first look at improving our use of JUnit, using kotlin.test to improve type safety, and assertAll to make multiple checks on the same subject. Then we look at Hamkrest (https://github.com/npryce/hamkrest), a Kotlin reimplementation of the classic Hamcrest, before settingly on Strikt (https://strikt.io/) for our fluent assertions.
-
Which assertion library do you use?
Has anyone compared Strikt with AssertK? I'm especially interested in the number of matchers.
kotlin-power-assert
-
Kotlin assertion libraries - JUnit, Hamkrest and Strikt
I’m getting recommendations a compiler plug-in that also looks very interesting https://github.com/bnorm/kotlin-power-assert
-
Kotlin Team AMA #3: Ask Us Anything
Other examples are atomicfu and power assert (developed and maintained externally!), and we expect this list to grow even further.
What are some alternatives?
Kotest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing
KEEP - Kotlin Evolution and Enhancement Process
atrium - A multiplatform expectation library for Kotlin
kotlin-multiplatform-libsodium - A kotlin multiplatform wrapper for libsodium, using directly built libsodium for jvm and native, and libsodium.js for js targets.
Kluent - Fluent Assertion-Library for Kotlin
rsocket - RSocket Protocol Definition
mockito-kotlin - Using Mockito with Kotlin
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
Elmyr - A utility to make Kotlin/Java tests random yet reproducible
kotlin-wrappers - Kotlin wrappers for popular JavaScript libraries
mockk - mocking library for Kotlin
kotlinx.serialization - Kotlin multiplatform / multi-format serialization