Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petstore API Tests

Sample API test project for the Swagger Petstore API.

Stack

Setup

npm install
npm test

What is tested

A single pet lifecycle in order:

  1. POST /pet — create a pet
  2. GET /pet/:id — verify it exists
  3. PUT /pet — update name and status
  4. GET /pet/:id — verify the update
  5. DELETE /pet/:id — delete the pet
  6. GET /pet/:id — verify it returns 404

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages