CompilationTest
class CompilationTest
Compilation tests that verify generated source code compiles successfully with the Kotlin compiler.
Layer C: Generated-source compilation tests. Uses K2JVMCompiler to compile fixture-based generated code.
Note: variable and input object compilation tests are not feasible here because the generated code references GraphQLVariables which lives in the :api module (not on the test classpath). Enum classes are self-contained and can be compiled independently.