I wanna separate integration from unit tests in my gradle kotlin dsl project build ( the project itself written on java). There are many answers here how to configure source set etc.
But I came across nebula.integtest plugin ( I hope it's well known plugin to don't blame me in promoting it)
But there is quite poor manual there, just:
plugins {
id "nebula.integtest" version "8.0.0"
}
is it really all what need to be done? Which folder should contain integration tests then?
This is documented in the README of the project (emphasis mine):
https://github.com/nebula-plugins/nebula-project-plugin#nebula-facet-plugin
A corrolary from the Facet Plugin is a concrete Facet, this plugin provides one specifically for Integration Tests. By applying this plugin, you'll get an
integrationTestTest task, where sources go insrc/integTest/javaand dependencies can go intointegTestImplementationandintegTestRuntimeOnly(which extend from the test SourceSet), with the 'check' task depending on the task. To apply the plugin: