appium gradle setting
2021. 4. 19. 15:32ㆍ도구/Appium+Cucumber
appium gradle setting
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
}
dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
implementation (
'org.slf4j:jcl-over-slf4j:2.0.0-alpha1',
'org.slf4j:slf4j-api:2.0.0-alpha1',
'org.slf4j:slf4j-simple:2.0.0-alpha1',
'org.slf4j:slf4j-log4j12:2.0.0-alpha1',
'ch.qos.logback:logback-classic:1.3.0-alpha4',
'com.konghq:unirest-java:3.1.04',
'com.konghq:unirest-objectmapper-jackson:3.1.04',
'org.projectlombok:lombok:1.18.10',
'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.10.0.pr1',
'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0.pr1'
)
testImplementation (
'org.junit.jupiter:junit-jupiter-api:5.6.0',
'junit:junit:4.13-beta-3',
'io.appium:java-client:7.2.0',
'io.cucumber:cucumber-java8:4.7.4',
'io.cucumber:cucumber-junit:4.7.4',
'org.hamcrest:hamcrest:2.1',
'org.hamcrest:hamcrest-all:1.3',
"org.seleniumhq.selenium:selenium-java:3.141.59"
)
compileOnly (
'org.projectlombok:lombok:1.18.10',
)
testAnnotationProcessor(
'org.projectlombok:lombok:1.18.10',
)
}
task cucumber() {
dependsOn assemble, compileTestJava, testClasses
doLast {
javaexec {
main = "cucumber.api.cli.Main"
classpath = configurations.testRuntimeClasspath + sourceSets.main.output + sourceSets.test.output
args = ['--plugin', 'pretty', '--glue', 'com.woowabros.qa.baemin', 'src/test/resources/features']
}
}
}
'도구 > Appium+Cucumber' 카테고리의 다른 글
[Cucumber] BDD, 테스트 시나리오 문법(gherkin) (0) | 2021.05.04 |
---|---|
[Cucmber] You can implement missing steps with the snippets below, There were undefined steps. You can implement missing steps with the snippets below (0) | 2021.04.28 |
appium maven setting (0) | 2021.04.19 |
[cucumber] gradle 설치 (0) | 2021.04.14 |
[1] Appium 설치 (0) | 2021.04.13 |