Why don't you write unit tests and integration tests to ksp project

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ksp

    Kotlin Symbol Processing API

  • google/ksp is one of the lightweight compiler plugin. We can easy to create compiler plugin with simple syntax. It's set as stable last year.

  • Spider

    AGSL wrapper library that made by ksp (by chigichan24)

  • I've prepared the demo project(Spider) for this article. The project is really simple ksp project. Spider is a AGSL wrapper library for compose function.We can avoid to write template AGSL loading code.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • mockito-kotlin

    Using Mockito with Kotlin

  • In the demo project, I used junit and mockito. One thing we need to pre-learn do the unit test, that is ksp class diagram.

  • kotlin-compile-testing

    A library for testing Kotlin and Java annotation processors, compiler plugins and code generation

  • Strictly, it's not android integration test. In this section I defined integration test as ksp processing result confirmation. Unfortunately, there're no official support that for testing SymbolProcessorProvider. But we can apply similar test by using kotlin-compile-testing. This library supports ksp so we can easily do integration test. This library is used by multiple ksp project such as room, moshi and etc...

  • Moshi

    A modern JSON library for Kotlin and Java.

  • This approach is also used by square/moshi. You can also refer this.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts