Skip to content

mrgorobec/GitHubAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status

Build Status

TestRepo

It's Python GitHub API tests.

There presented 2 type of tests: BDD Behave PyTest

Run Tests local:

  • Install git:

    brew install git

  • Next step - install python:

    brew 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

  • Clone GitHubAPI repository with ssh ( need configure two factor authorisation and add ssh public key to git hub repository) :

    git clone https://github.com/keyprqa/GitHubAPI.git

  • Navigate to project folder and install requirements :

    pip install -r requirements.txt

  • Run PyTest tests :

    py.test -v py_test/

  • Run BDD test :

    behave bdd_tests/

Tests connected to CI Travis and could be running there:

https://travis-ci.org/keyprqa/GitHubAPI

About

GitHubAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published