Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ugioni/integration-tests-jest
API testing with a simple integration between JestJS and PactumJS.
https://github.com/ugioni/integration-tests-jest
api-tests jest pactumjs typescript
Last synced: about 1 month ago
JSON representation
API testing with a simple integration between JestJS and PactumJS.
- Host: GitHub
- URL: https://github.com/ugioni/integration-tests-jest
- Owner: ugioni
- License: mit
- Created: 2022-02-14T02:48:47.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T00:07:02.000Z (3 months ago)
- Last Synced: 2024-09-12T10:01:50.044Z (3 months ago)
- Topics: api-tests, jest, pactumjs, typescript
- Language: TypeScript
- Homepage:
- Size: 208 KB
- Stars: 14
- Watchers: 1
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# API test automation with Jest and PactumJS
> Simple integration between JestJS and PactumJS.
## GitHub Actions
[![Node.js CI](https://github.com/ugioni/integration-tests-jest/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/ugioni/integration-tests-jest/actions/workflows/node.js.yml)
## SonarCloud
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ugioni_integration-tests-jest&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ugioni_integration-tests-jest)
# Getting Started
### Pactum docs:
- [PactumJS](https://pactumjs.github.io/)### Prerequisites:
- NodeJS `v20`### How to run?
Inside of the project folder run:
1. `npm install --save-dev`
1. `npm run ci`After that you should see a `./output` folder with some `HTML` reports.
### Docs to Api under tests:
- [API Company / Mercado](https://api-desafio-qa.onrender.com/docs/)
- [Deck of Cards](https://deckofcardsapi.com/)
- [JSON placeholder](https://jsonplaceholder.typicode.com/)
- [http bin](http://httpbin.org/)
- [rick and morty api](https://rickandmortyapi.com/documentation/#rest)
- [Petstore](https://petstore.swagger.io/#/)
- [ServeRest](https://serverest.dev/#/)
- [ServeRest - Datadog](https://p.datadoghq.eu/sb/421fcfee-35ec-11ee-b87f-da7ad0900005-2aaf85264a89d11b7001bcab452a266e?refresh_mode=sliding&theme=light&tpl_var_env%5B0%5D=serverest.dev&from_ts=1699931511294&to_ts=1699932411294&live=true)