Skip to content

Extensions

kotlin-faker provides "Faker extensions" for popular third-party testing-related libraries and frameworks.

Info

The extension modules require the main kotlin-faker dependency to be on the classpath, unless otherwise specified in the given extension's documentation.

BLNS

Kotlin-faker blns artifact provides convenience functions for returning strings from The Big List of Naughty Strings - a list of strings which have a high probability of causing issues when used as user-input data, and can therefore be quite useful in testing.

See the Big List of Naughty Strings Extension page for usage details.

Kotest Property

kotlin-faker-kotest-property artifact extends Arb generators and provides an easy way to use kotlin-faker functionality with kotest property testing.

See the Kotest Property Extension page for usage details.