David Fallah
03/04/2019, 1:33 PMabstract class FunctionNodeSpec(nodeType: String, body: suspend AbstractDescribeSpec.DescribeScope.() -> Unit) :
DescribeSpec() {
// ...
}
Then inherit from that:
class ElementaryNodeTests : FunctionNodeSpec("Elementary node", {
// ...
}
If I try to run an individual test case within ElementaryNodeTests
I get this error:
Exception in thread "main" java.lang.RuntimeException: Could not detect spec class style for supertypes [class com.mycompany.testmaster.domain.nodes.FunctionNodeSpec]