I'm having trouble generating a test in the kotlin...
# kontributors
f
I'm having trouble generating a test in the kotlin compiler project. I created a new file
compiler/testData/custom/testDataTest.kt
and ran
Generate Compiler Tests
, but I don't see any new files generated? (I looked in the git diff)
d
See
org/jetbrains/kotlin/generators/tests/GenerateTests.kt
, you have to add this folder to any existing testrunner, or write your own
f
OK, I've tried adding
model("custom", pattern = KT_OR_KTS)
under
testClass<AbstractIdeLightClassTest> {
(under
testGroup("idea/tests", "compiler/testData") {
, and I've also tried adding a file
compiler/testData/asJava/lightClassStructure/TestTest.kt
(independently). After Running
Generate Compiler Tests
I still don't see anything generated. Suggestions?
d
Try running
Generate all tests
instead
f
OK, it did generate it. I think I'm starting to understand what is going on
👍 1
Thanks