kotlin-compile-testing
A library for testing Kotlin and Java annotation processors, compiler plugins and code generation (by tschuchortdev)
Spider
AGSL wrapper library that made by ksp (by chigichan24)
kotlin-compile-testing | Spider | |
---|---|---|
1 | 1 | |
634 | 2 | |
- | - | |
5.3 | 10.0 | |
7 months ago | over 1 year ago | |
Kotlin | Kotlin | |
Mozilla Public License 2.0 | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kotlin-compile-testing
Posts with mentions or reviews of kotlin-compile-testing.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-11.
-
Why don't you write unit tests and integration tests to ksp project
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...
Spider
Posts with mentions or reviews of Spider.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-11.
-
Why don't you write unit tests and integration tests to ksp project
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.
What are some alternatives?
When comparing kotlin-compile-testing and Spider you can also consider the following projects:
mockito-kotlin - Using Mockito with Kotlin
hilt-binder - An annotating processing library that automatically generates Dagger Hilt's `@Binds` methods.
Kotest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing
ksp - Kotlin Symbol Processing API
Moshi - A modern JSON library for Kotlin and Java.