我正在使用Spock框架进行测试(1.0-groovy-2.4发布).Junit提供此选项以使用命令行(使用Maven)运行特定测试:
mvn -Dtest=TestCircle#mytest test
问题:我怎么能用Spock做到这一点?
这个版本依赖于Junit 4.12,在Junit文档中声明这个功能仅支持Junit 4.x,基本上Spock应该提出类似的东西.
testing groovy maven spock maven-surefire-plugin
groovy ×1
maven ×1
maven-surefire-plugin ×1
spock ×1
testing ×1