kotlin-compile-testing
kotlin-compile-testing copied to clipboard
A library for testing Kotlin and Java annotation processors, compiler plugins and code generation
I'm having a problem with compiler testing. For some reason, it does not detect KSP generated files. They have been successfully generated and it's possible to browse to them through...
Hi! Can I imitate the incremental compilation process? I mean I have the following test case: I should compile a project that uses my compiler plugin, check results, save them,...
looks like i broke something here: https://github.com/tschuchortdev/kotlin-compile-testing/commit/0a0af2bda8a69599a3c0f911dbb122aa1b82d6a7 for some reason, KSP fails to resolve a nested class's type when it is in sources. repro: https://github.com/yigit/kotlin-compile-testing/commit/2e35c09fa1bc26186cfbfbc5238ba2f7000af5f3 I initially thought this was...
Not sure what happened yet but between `20201106` and `20201023` versions of KSP, it started having a side effect where no kotlin compilation error is reported. ``` @Test fun badCodeFailsCompilation()...
Currently the only way to read resource files generated by a KSP symbol processor is to use `File(KotlinCompilation.kspSourcesDir, "resource")` which is only available from `KotlinCompilation` and not `KotlinCompilation.Result`. It would...
We've started running more tests of Room with KCT (each test is run w/ java compile testing, KCT/KAPT, KCT/ KSP) and saw a significant slow down in our tests. Creating...
It would be great if java resource files (`src/main/resources`) could be included during compilation.
Just noticed this as we do not run kotlin compilation if there are no kotlin sources, which by-passes KSP alltogether. I will take a look at it, since KSP does...
Hi, are planning to also add support for KotlinJS and Kotlin Native? If so, I would be interested to implement this feature
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.7.10 to 1.7.20-193. Release notes Sourced from kotlin-gradle-plugin's releases. Kotlin 1.7.20-RC Changelog Compiler KT-53739 Builder inference, extension hides members KT-53733 Kotlin/Native: update source documentation for the new...