kotlinfixture
kotlin-compile-testing
kotlinfixture | kotlin-compile-testing | |
---|---|---|
1 | 1 | |
248 | 633 | |
1.6% | - | |
1.7 | 5.3 | |
2 months ago | 7 months ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Mozilla Public License 2.0 |
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.
kotlinfixture
kotlin-compile-testing
-
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...
What are some alternatives?
mockk - mocking library for Kotlin
mockito-kotlin - Using Mockito with Kotlin
kotlin-sample-app - 📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
hilt-binder - An annotating processing library that automatically generates Dagger Hilt's `@Binds` methods.
Elmyr - A utility to make Kotlin/Java tests random yet reproducible
Kotest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing
Fixkture - An Intellij plugin to generate fixtures/fakes for your Kotlin and Java projects
ksp - Kotlin Symbol Processing API
Moshi - A modern JSON library for Kotlin and Java.
Spider - AGSL wrapper library that made by ksp