These are simple API tests written using Python.
You need to have installed actual version of python3 and pipenv. To do it follow instructions below:
- Open terminal
- Install homebrew with the command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install Python with the command:
brew install python
- Install Pipenv with the command:
brew install pipenv
- Open a terminal
- Go to location where you want to clone repository code
- Run
git clone https://github.com/abrodowicz/API-testing-basics
to clone this repository - Run
cd API_tests
to move to local repository folder - Run command
pipenv shell
to activate the virtual environment - Run command
python main.py
to run the code