项目作者: anupamr48

项目描述 :
API testing framework using Rest Assured and Cucumber
高级语言: Java
项目地址: git://github.com/anupamr48/apitestcucumber.git
创建时间: 2019-10-09T12:08:44Z
项目社区:https://github.com/anupamr48/apitestcucumber

开源协议:

下载


RestAssured-BDD-Java

Objective :

Developed a simple framework which should support to develop automation test scripts for API services in Java. This project is an example of API test for a weather station (https://openweathermap.org/stations) using Rest Assured and Cucumber.

Test scenarios are described in the feature file located here .cucumber-test-sample/features/WeatherStationTest.feature.

Tools / libraries used :

  1. Java
  2. Rest Assured
  3. Cucumber
  4. JUnit
  5. Maven

Steps to start :

  1. Clone / Download the project into your local machine
  2. Open the Command prompt and navigate to project location
  3. Execute the following Maven command’s
    • mvn clean :- To clean the maven repo
    • mvn install :- To install the maven requirments
    • mvn test :- To execute the test scenarios
  1. After tests are run, reports are generated at : /target/cucumber-reports/index.html