Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lewisprescott707/bidirectional-contract-testing

AutomateIT
https://github.com/lewisprescott707/bidirectional-contract-testing

Last synced: 5 days ago
JSON representation

AutomateIT

Awesome Lists containing this project

README

        

# Bi-directional Contract Testing

## Setup

Pre-requisites:

1. [nodejs](https://nodejs.org/en/download/)
1. [yarn](https://classic.yarnpkg.com/lang/en/docs/install/)
1. [docker](https://docs.docker.com/desktop/install/mac-install/)

## Schemathesis

Run swagger tests
1. API Deployed to [render.com](https://render.com/docs/deploy-node-express-app)

Publish results
1. Mac: `sudo chmod 755 ./server/publish.sh`
1. Terminal/CMD: `./server/publish.sh ` / `./server/publish.bat `

## App

Run app before tests:
1. Launch command prompt (cmd)
1. `npm start`

## Cypress

1. Launch another command prompt (cmd)
1. `npm run cy:open` or `npm run cy:run`
1. Mac: `sudo chmod 755 ./publish.sh`
1. Terminal/CMD: `./publish.sh ` / `.\publish.bat `