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 2 months 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 (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T02:45:48.000Z (8 months ago)
- Last Synced: 2025-04-02T11:57:32.350Z (about 2 months ago)
- Topics: api-tests, jest, pactumjs, typescript
- Language: TypeScript
- Homepage:
- Size: 212 KB
- Stars: 36
- Watchers: 1
- Forks: 40
- Open Issues: 3
-
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
[](https://github.com/ugioni/integration-tests-jest/actions/workflows/node.js.yml)
## SonarCloud
[](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)