kotest-intellij-plugin
kotest-intellij-plugin copied to clipboard
Run only tests included via the include statement
I have a class like this
class SampleTest(
....
): SpringFunSpec({
val importedContext = ImportedContext(....)
include(importedContext.context)
// Other tests
})
Where the importedContext.context is a factory that looks like
val context = funSpec {
context("V1") {
beforeTest {
// Mock stuff
}
test("Test case 1") {
// Test code
}
}
}
Now I want to run only this line
include(importedContext.context)
My expectation is all the tests imported via this include statement will run. But the run test button does not show up beside the line on intellij