如何使用 Cucumber 和 Rest Assured 的依賴建立專案?
我們可以使用 Cucumber 和 Rest Assured 依賴建立專案。為此可以透過以下步驟操作 -
步驟 1 - 建立 Maven 專案。有關如何建立 Maven 專案的詳細資訊在以下連結中有詳細介紹 -
https://tutorialspoint.tw/maven/index.htm
步驟 2 - 在面向 Cucumber 的專案中於 pom.xml 檔案中新增以下依賴。
Cucumber JVM - Java 依賴

Cucumber JVM - JUnit 依賴
https://mvnrepository.com/artifact/io.cucumber/cucumber-junit

步驟 3 - 在面向 Rest Assured 的專案中於 pom.xml 檔案中新增以下依賴。
Rest Assured 依賴
https://mvnrepository.com/artifact/io.rest-assured/rest-assured

Jackson Databind 依賴
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jacksondatabind

廣告
資料結構
網路
RDBMS
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式語言
C++
C#
MongoDB
MySQL
Javascript
PHP