Does anyone knows if it’s possible somehow configu...
# announcements
d
Does anyone knows if it’s possible somehow configure maven pom.xml to allow java tests to be recognized from
src/test/kotlin
folder? I prepared an example you can quickly clone and verify:
Copy code
git clone <https://github.com/daggerok/mixed-kotlin-java-jupiter-tests> testme ; cd $_ ; mvn test
here kotlin tests could be recognized from both
stc/test/kotlin
as well as from
src/test/java
, but java test classes are visible only from
src/test/java
Let me know if you know how to tell maven in it’s pom.xml project build configuration also recognize java tests classes from
src/test/kotlin
directory too Thanks
s
You're using surefire. simply set the test source directory. http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html