I have a module with a processor in src/main. I’d ...
# ksp
j
I have a module with a processor in src/main. I’d like the classes in src/test to be visited by the processor. Is that possible and if so, what configuration would I need for it to work?
y
They are different compilations so you need to add the processor to the test
j
You can’t add a ksp scoped dependency to itself so I’m not sure why it doesn’t just work
y
Oh i misunderstood it. But I think you can still add it, but need to specify the configuration in the dependency. Alternatively, just use kotlin compile testing
In room, we use something similar to kotlin compile testing for tests of the processor and use separate integration test modules for running the full processor