项目作者: eaxdev

项目描述 :
It's Python Fake API tests with py.test
高级语言: Python
项目地址: git://github.com/eaxdev/Python-tests-with-pytest.git
创建时间: 2019-07-13T19:41:10Z
项目社区:https://github.com/eaxdev/Python-tests-with-pytest

开源协议:

下载


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/