Hi! I wrote a ksp symbolProcessor, I want now to w...
# ksp
a
Hi! I wrote a ksp symbolProcessor, I want now to write a test for it. I have:
package myA; sealed class A
package ksp.processA; class ProcessA : SymoblProcessor{… do some stuff with all extending class of A}
and I want to create just for test:
data class B() : A()
. How can I inject a B class? The problem is that the ksp runs on another package.
ok, asked chatGPT, it was recommending library: com.tschuchort.compiletesting.KotlinCompilation. will check that