Skip to content

com.github.sylhare.randomk 2.5 Latest version

Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
  <groupId>com.github.sylhare</groupId>
  <artifactId>randomk</artifactId>
  <version>2.5</version>
</dependency>
Install 2/2: Run via command line
$ mvn install

About this package

You can create a random instance with randomK like:

private val example: Example = randomK()
private val otherExample = randomK<OtherExample>()

Use it in your test to create real objects with fake data automatically.