Davio
02/27/2023, 12:56 PMpackage com.example.demo
import io.kotest.core.spec.style.ShouldSpec
import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.fail
@Tag("IntegrationTests")
class IntegrationIT : ShouldSpec({
should("fail") {
fail { "fail" }
}
})
This test will always be run by failsafe, even if I specify the groups/tags to run to be something elsesam
02/27/2023, 12:59 PMDavio
02/27/2023, 1:39 PM<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<groups>${testGroups}</groups>
<systemPropertyVariables>
<kotest.tags>${testGroups}</kotest.tags>
</systemPropertyVariables>
</configuration>
</plugin>