This message was deleted.
# community-support
s
This message was deleted.
e
👋 Hey, @Dariusz Kuc! You can define a new JVM Test Suite for your integration tests. It will take care of creating the source sets for you. https://docs.gradle.org/current/userguide/jvm_test_suite_plugin.html#sec:declare_an_additional_test_suite
d
👋 how do i pass new src dir? (would like to keep my integration tests in separate dir from unit tests)
👍 had to scroll down a bit -> example is provided in the linked doc
Thanks!
e
When you define a new test suite it will create a new source set for you and will be separate from any other existing tests.
You're welcome! With the JVM test suite plugin you should not need to worry about source sets at all. It will handle it for you.
d
Awesome! Yeah this looks much simpler than my current setup
Thanks again
e
You're welcome!
v
And just for completeness, I guess this will work:
configure<KotlinSourceSet> { ... }
👍 1