This repository contains scripts for testing ReqRes.in APIs using Python. ReqRes.in is a popular API testing service that allows developers to mock APIs for testing purposes.
- Requests: Python HTTP library for making requests and working with APIs.
- PyYAML: YAML parser and emitter for Python.
- Faker: Python library that generates fake data.
-
clone this repository:
git clone https://github.com/gloofo/reqres.in-test
-
install the required Python packages:
pip install -r requirements.txt
-
install jest axios:
npm install --save-dev jest axios
-
run the script using:
pytest:pytest -vvvsq
axios:
npm test --verbose