Features

The Kotest plugin provided by Fixture Monkey allows you to enhance your testing experience within the Kotest framework.

  • Replaces the default generator for generating random values for primitive types from Jqwik to Kotest’s property generator (Arb). Use of bean validation annotations also works.
  • Support for Kotest’s property-based testing functions, including forAll and checkAll.

Dependencies

fixture-monkey-kotlin

Gradle

testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.0.27")

Maven

<dependency>
  <groupId>com.navercorp.fixturemonkey</groupId>
  <artifactId>fixture-monkey-kotest</artifactId>
  <version>1.0.27</version>
  <scope>test</scope>
</dependency>

Plugin

val fixtureMonkey = FixtureMonkey.builder()
    .plugin(KotestPlugin())
    .plugin(KotlinPlugin())
    .build()