eaxdev / Python-tests-with-pytest

It's Python Fake API tests with py.test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Status

Build Status

Python Fake API tests

It's Python Fake API tests with py.test

Use this fake api: https://jsonplaceholder.typicode.com/

Run Tests local:

  • First step - install python:

    apt install python

  • Install python virtualenv:

    sudo pip install virtualenv

  • Create virtual environment for mes-backend-automation:

    virtualenv env

  • Activate virtual environment:

    source env/bin/activate

  • Navigate to project folder and install requirements :

    pip install -r requirements.txt

  • Run PyTest tests :

    py.test -v py_test/

About

It's Python Fake API tests with py.test


Languages

Language:Python 100.0%