Kommons is a Kotlin Multiplatform Library that offers features you didn't know you were missing.
Adding this library as a dependency...
- adds Kotest Assertions based helpers and matchers, and
- provides you with some useful fixtures.
JUnit users benefit from:
- an optimized set of defaults settings,
- the testEach dynamic test builder with automatically derived display name,
- a @SystemProperty extension,
- and a small selection of parameter resolvers, among other things.
Furthermore, there are some more advanced features for the JVM platform.
Kommons Test is hosted on GitHub with releases provided on Maven Central.
-
Gradle
testImplementation("com.bkahlert.kommons:kommons-test:2.0.0") { because("JUnit defaults, testAll, ...") }
-
Gradle
implementation("com.bkahlert.kommons:kommons-test:2.0.0") { because("JUnit defaults, testAll, ...") }
(for MPP projects) -
Maven
<dependency> <groupId>com.bkahlert.kommons</groupId> <artifactId>kommons-test</artifactId> <version>2.0.0</version> <scope>test</scope> </dependency>
- TODO reference individual README.md
Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. You can also support this project by making a PayPal donation to ensure this journey continues indefinitely!
Thanks again for your support, it is much appreciated! 🙏
MIT. See LICENSE for more details.