【发布时间】:2025-12-29 23:50:06
【问题描述】:
我对 gradle 很陌生,我很困惑如何调用我的项目,以便我可以运行我的 Cucumber 测试。创建 build.gradle 文件后我该怎么办? 我的 build.gradle 看起来像这样 应用插件:'java'
dependencies {
testCompile 'info.cukes:cucumber-java:1.2.4'
testCompile 'info.cukes:cucumber-junit:1.2.4'
testCompile 'junit:junit:4.12'
}
repositories {
mavenCentral()
}
project.ext {
cucumberVersion = '1.2.4'
junitVersion = '4.11'
}
test {
testLogging.showStandardStreams = true
systemProperties System.getProperties()
}
【问题讨论】:
标签: testing cucumber automated-tests build.gradle