https://kotlinlang.org logo
#intellij
Title
# intellij
j

Javier

01/26/2023, 10:46 AM
How can I say IntelliJ that a Kotlin test inside a Kotlin source set should accept a valid convention for the function name? Probably the same reply to my previous question a few weeks ago: https://kotlinlang.slack.com/archives/C0B8H786P/p1673353267405809 I think KGP should provide a way to indicate if a source set is "normal" or "test" in order to avoid having a complex configuration. Additionally, maybe the future
compilations
approach can automatically fix this kind of issues as it uses
testRuns
?
Copy code
val integrationTest by compilations.creating
testRuns.create(integrationTest.name) {
    setExecutionSourceFrom(integrationTest)
}
3 Views