Skip to content

nasiima/PetStoreAPITestFramework

Repository files navigation


Logo

Pet Store API Testing Framework

API testing framework for the Pet Store API: Testing responses to different requests!

Pet Store API

This is a simple opensource API that performs requests to the database to get, add, update or delete records based on the request.
It performs requests to the databases with pets, orders and users.

  • Access the API project repository here.
  • Live documentation to the API is here

Project objectives

  • Setting up collaboratively environment to work together using GitHub.
  • Creating dto’s for different request and response objects.
  • Defining user stories and acceptance criteria.
  • Create automated api tests using Rest Assured and behaviour driven testing using Cucumber.
  • Make a defect report to report each problem that was found.

Tools used

Here are some of the tools that were used for the project and are recommended to carry on with it
Java-url
Intellij-url
Jira-url
Selenium-url
GoogleChrome-url
Maven-url
Cucumber-url

To learn more about dependencies that were used go to pom.xml file

Running project locally

  1. Clone the repository to your machine
git clone https://github.com/nasiima/PetStoreAPITestFramework.git
  1. Open project directory to perform other git commands
cd PetStoreAPITestFramework
  1. Open the project in the IntelliJ

Contribution

  1. Create you branch
git checkout -b myBranch
  1. Stage the changes you want to commit
git add .
git add file/path/1 file/path/2
  1. Commit your changes
git commit -n "Commit message"
  1. Push your commits to the remote branch
git push
  1. Open a pull request. Go to Pull requests and pres "Make new request" button

To stay updated:

  1. Go to the local dev branch
git checkout dev
  1. Pull changed from the remote dev branch
git pull
  1. Go back tou your branch
git checkout myBranch
  1. Merge changes from the dev branch
git merge dev
  1. Update your remote branch
git push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors