strikt alternatives and similar libraries
Based on the "Tests" category.
Alternatively, view strikt alternatives based on common mentions on social networks and blogs.
-
Kotest
Powerful, elegant and flexible test framework for Kotlin with assertions, property testing and data driven tests. -
kotlin-faker
Port of a popular ruby faker gem written in kotlin. Generate realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data anonymization purposes. -
balin
Balin is an automation library for Kotlin. It's basically a Selenium-WebDriver wrapper inspired by Geb. -
SeleniumBuilder
Kotlin DSL for Selenium. Provide a possibility to write tests in Kotlin type-safe builders style -
arbitrater
DISCONTINUED. Arbitrater is a Kotlin library for creating arbitrary instances of classes by reflection for use in testing. In contrast to POJO generators, it supports Kotlin's optional parameters and nullable types. -
aspen
DISCONTINUED. Aspen is a simple test runner for Kotlin that allows you to write tests using your own DSL.
CodeRabbit: AI Code Reviews for Developers
Do you think we are missing an alternative of strikt or a related project?
Popular Comparisons
README
Strikt
Strikt is an assertion library for Kotlin intended for use with a test runner such as JUnit, Minutest, Spek, or KotlinTest.
Strikt uses a fluent assertion style similar to AssertJ but leverages Kotlin's type system and extension functions rather than needing a complex hierarchy of assertion builder classes.
Strikt is under development, but 100% usable. The API may change until a version 1.0 is released. Any suggestions, issue reports, contributions, or feedback are very welcome.
Installation
Strikt is available from Maven Central.
repositories {
mavenCentral()
}
dependencies {
testImplementation("io.strikt:strikt-core:<version>")
}
See the button below or releases/latest for the current version number.
Additional Libraries
Strikt has the following additional libraries:
strikt-arrow
-- supports data types from the Arrow functional programming library.strikt-jackson
-- supports the Jackson JSON library.strikt-jvm
-- supports types from the Java SDK.strikt-mockk
-- supports types from the MockK library.strikt-protobuf
-- supports Protobuf / gRPC.strikt-spring
-- supports the Spring Framework.
Versions are synchronized with the core Strikt library.
To install additional libraries include dependencies in your Gradle build. For example:
dependencies {
testImplementation("io.strikt:strikt-jvm:<version>")
}
Bill of Materials
Strikt supplies a BOM that is useful for aligning versions when using more than one Strikt module.
dependencies {
// BOM dependency
testImplementation(platform("io.strikt:strikt-bom:<version>"))
// Versions can be omitted as they are supplied by the BOM
testImplementation("io.strikt:strikt-jackson")
testImplementation("io.strikt:strikt-jvm")
testImplementation("io.strikt:strikt-spring")
}
Using Strikt
Please see the project documentation and API docs.
Community
Join the #strikt channel on the Kotlin Slack.
Follow @stri_kt on Twitter for updates and release notifications.
*Note that all licence references and agreements mentioned in the strikt README section above
are relevant to that project's source code only.