Requirements

Prerequisites

  • JDK 1.8 or higher (Or Kotlin 1.8 or higher)
  • JUnit 5 platform
  • jqwik 1.7.3

Dependencies

DependencyDescription
fixture-monkeyCore library
fixture-monkey-starterStarter dependency for fixture monkey
fixture-monkey-kotlinKotlin support
fixture-monkey-starter-kotlinStarter dependency for fixture monkey kotlin

fixture-monkey-starter is a starter dependency that comes with pre-configured dependencies such as fixture-monkey-jakarta-validation to help you get started using Fixture Monkey.

For Kotlin environments, you can use fixture-monkey-starter-kotlin

Gradle

Add junit-platform-launcher as a runtime dependency. The dependency is optional below Gradle 9, but it will be mandatory from Gradle 9 onwards.

📔 Gradle Offical Documentation ⚠️ Issue

testRuntimeOnly("org.junit.platform:junit-platform-launcher:{version}")
testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:1.1.11")

Maven

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

Third party library support

DependencyDescription
fixture-monkey-jacksonJackson support for serialization and deserialization of objects
fixture-monkey-jakarta-validationSupport for Jakarta Bean Validation (JSR 380) annotations
fixture-monkey-javax-validationSupport for Javax Bean Validation (JSR 303/349) annotations
fixture-monkey-mockitoSupport for Mockito mocking framework
fixture-monkey-autoparamsSupport for AutoParams test data generation
fixture-monkey-junit-jupiterSupport for JUnit Jupiter test framework
fixture-monkey-kotestSupport for Kotest test framework