# Fixtures made easy with KSP

DevFeed: [Fixtures made easy with KSP](<https://devfeed.tech/articles/fixtures-made-easy-with-ksp-23703.md>)

Original publisher: [Read original article](<https://engineering.theblueground.com/fixtures-made-easy-with-the-help-of-ksp/>)

Author: Vaios Tsitsonis

Published: 2022-11-16T12:09:04Z

Content type: tutorial

Language: en

Sources: [Blueground Engineering blog](<https://devfeed.tech/sources/blueground-engineering-blog.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Boilerplate](<https://devfeed.tech/topics/boilerplate.md>), [Library](<https://devfeed.tech/topics/library.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [code](<https://devfeed.tech/tags/code.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

## AI overview

The article presents Fixtures, an open-source Blueground library built with KSP to generate helper functions for instantiating data-class objects in tests. It explains generated helpers, supported parameter types, configurable random default values, and handling of unsupported field types.

## Source excerpt

Standing on the shoulders of giants In a previous blog post, we discussed how to build tools with the help of KSP. In this one, we will present one of the tools we built in Blueground that recently has been released as an open-source project. Initially, we were inspired