# Using Apollo Kotlin Data Builders for Testing

DevFeed: [Using Apollo Kotlin Data Builders for Testing](<https://devfeed.tech/articles/using-apollo-kotlin-data-builders-for-testing-24831.md>)

Original publisher: [Read original article](<https://akjaw.com/using-apollo-kotlin-data-builders-for-testing/>)

Author: Aleksander Jaworski

Published: 2022-11-09T17:46:20Z

Content type: tutorial

Language: en

Sources: [AKJAW](<https://devfeed.tech/sources/akjaw.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>)

## AI overview

This tutorial explains how Apollo Kotlin Data Builders can create GraphQL response classes to improve tests.

## Source excerpt

Data Builders provide an easy way for creating GraphQL response classes. In this post I'll show how they can be used to improve your tests.