Skip to content

Commit 4c0b32d

Browse files
author
JivandoYang
committed
menggabungkan api testing dari latihan sebelumnya dan menghapuskan test runner class
1 parent 1f40494 commit 4c0b32d

5 files changed

Lines changed: 155 additions & 7 deletions

File tree

build.gradle

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,24 @@ repositories {
1010
}
1111

1212
dependencies {
13+
// Selenium UI
1314
implementation 'org.seleniumhq.selenium:selenium-java:4.43.0'
1415
implementation 'io.github.bonigarcia:webdrivermanager:6.3.4'
15-
1616
implementation 'io.cucumber:cucumber-java:7.34.3'
1717
testImplementation 'io.cucumber:cucumber-junit:7.34.3'
18-
1918
testImplementation platform('org.junit:junit-bom:5.10.0')
2019
testImplementation 'org.junit.jupiter:junit-jupiter'
2120
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
21+
22+
// API TestNG
23+
testImplementation 'org.testng:testng:7.12.0'
24+
testImplementation 'io.rest-assured:rest-assured:6.0.0'
25+
implementation 'org.json:json:20251224'
2226
}
2327

24-
//test {
25-
// useJUnitPlatform()
26-
//}
28+
test {
29+
useTestNG()
30+
}
2731

2832
configurations {
2933
cucumberRuntime {

0 commit comments

Comments
 (0)