I'm using karate with junit-5 runner and kotlin and karate doesn't seem to find my feature files :
I get the following
no features or scenarios found: [classpath:sncf/karate] org.opentest4j.AssertionFailedError: no features or scenarios found: [classpath:sncf/karate]
Here is my test file:
package sncf.karate
import com.intuit.karate.junit5.Karate
class ThreatControllerIT {
@Karate.Test
fun testThreat(): Karate {
return Karate.run().relativeTo(javaClass)
}
}
and my tree from the it package (where I store my integration tests)
kotlin
│ ├── karate-config.js
│ └── sncf
│ └── karate
│ ├── ThreatController.feature
│ └── ThreatControllerIT.kt
└── resources