Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 1.88 KB

README.md

File metadata and controls

74 lines (45 loc) · 1.88 KB
test-light

✨ Rest Assured Practice ✨

📝 The main Frameworks included in the project:

  • RestAssured

  • TestNG

  • Allure Report

🎨 Project Design:

  • Object Model design pattern

  • Data Driven framework

  • Java Docs

🏗️ Project Structure

rest

🔊 this project included

📦️ 3 packages in src/main/java

  • FakeRestApi ( object Model Design )
  • Restfulbooker ( object Model Design )
  • Utils ( used to read data from external json file )

📦️ 3 packages in src/test/java

  • FakeRestApiTest ( object Model Design )
  • RestfulbookerApiTest ( object Model Design )
  • Practice ( linear Design )

🧱 2 folders in src/test/resources/TestData

  • ActivitiesTestData
  • BookingTestData

⚗️ 2 xml files

  • pom.xml ( XML file that contains information about the project and configuration details used by Maven to build the project)
  • testng.xml ( is the configuration for TestNG testing framework ( defining test suite )

🗃️ Documentation

🚧 Requirements

  • Java JDK-19
  • RestAssured 5.3.0
  • Maven

🚀 Running Tests

Run All tests open a terminal on the project root path:

  1. Run API tests: mvn clean test
  2. Generate reports: mvn allure:serve or allure serve
  • 📄 Allure Report:

api