Skip to content

Densf2/api_validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

177 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The repo contain test with validation response schema based on openapi documentation.
Every time before tests - will be downloaded API schema into nodejs workspace and after check structure of response against fresh version of schema.
After running test - will be generated html report in the /mochawesome-report directory.

For launch tests in the /test directory:

  • clone repo
  • install all dependecies: npm i
  • launch tests: npm test

Tools:

  • axios - for requests
  • chai-openapi-response-validator - for validation response
  • go-git-it - for fetching openapi spec from github repo

About

validation api responses based on openapi docuementation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors