有没有办法在 Spock 中进行像 JUnit 5 这样的嵌套测试?
特定班级有很多测试,我想将它们分组以便更好地理解和方便查看。
JUnit 提供嵌套测试(https://junit.org/junit5/docs/current/user-guide/#writing-tests-nested)。所以我想知道我是否可以在 Spock 中做类似的事情或者将 Spock 与 JUnit 5 结合使用。
java spock spring-boot junit5
java ×1
junit5 ×1
spock ×1
spring-boot ×1