An open API service indexing awesome lists of open source software.

https://github.com/asadhasan/cypressrestapitesting

Basic testing of postcodes.io API via Cypress (using Typescript with Webpack)
https://github.com/asadhasan/cypressrestapitesting

cypress rest-api restful-api typescript

Last synced: 5 months ago
JSON representation

Basic testing of postcodes.io API via Cypress (using Typescript with Webpack)

Awesome Lists containing this project

README

          

# Cypress REST API Automation Test

[![CircleCI](https://circleci.com/gh/AsadHasan/CypressRestApiTesting.svg?style=svg)](https://circleci.com/gh/AsadHasan/CypressRestApiTesting)

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/772d2295d8d540bd868cc7a18f64f23b)](https://www.codacy.com/app/asadhasan180/CypressRestApiTesting?utm_source=github.com&utm_medium=referral&utm_content=AsadHasan/CypressRestApiTesting&utm_campaign=Badge_Grade)

Basic automation testing of the postcodes.io API, using Cypress with Typescript and Webpack.

## Running the tests locally

1. Clone the solution to local environment.
2. In the project root, execute:

a- To install packages required to run the tests: `npm install`

b- To execute the tests: `npm test`