Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lewisprescott707/bidirectional-contract-testing
AutomateIT
https://github.com/lewisprescott707/bidirectional-contract-testing
Last synced: 5 days ago
JSON representation
AutomateIT
- Host: GitHub
- URL: https://github.com/lewisprescott707/bidirectional-contract-testing
- Owner: lewisPrescott707
- Created: 2022-11-04T14:16:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T14:51:53.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T01:08:58.280Z (over 1 year ago)
- Language: JavaScript
- Size: 995 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 `