Skip to content
A grab-bag of nifty pytest plugins
Python Shell Makefile
Branch: master
Clone or download
eeaston Merge pull request #151 from man-group/disable-jenkins
Disable jenkins server tests on CircleCI, it takes too long to instal…
Latest commit b16b119 Nov 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Disable jenkins server tests on CircleCI, it takes too long to instal… Nov 29, 2019
pytest-devpi-server Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-fixture-config Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-git Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-listener Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-profiling Merge branch 'master' into element_number Nov 29, 2019
pytest-pyramid-server Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-qt-app Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-server-fixtures Merge pull request #146 from reasto/patch-1 Nov 29, 2019
pytest-shutil Merge pull request #144 from hroncok/contextlib1 Nov 29, 2019
pytest-svn Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-verbose-parametrize Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-virtualenv Drop Python 3.4 support - it's now end of life. Nov 29, 2019
pytest-webdriver Drop Python 3.4 support - it's now end of life. Nov 29, 2019
.coveralls.yml Adding coveralls Oct 27, 2016
.editorconfig WIP Jan 8, 2019
.gitignore add .mypy_cache to gitignore Jan 8, 2019
CHANGES.md Updated changelog May 28, 2019
LICENSE Create LICENSE Oct 20, 2016
MANIFEST.in Working on CircleCI build Jan 20, 2018
Makefile Moved setuptools-git into the Makefile setup as it isn't installing p… Nov 29, 2019
README.md Merge pull request #142 from nicoddemus/patch-1 Nov 29, 2019
VERSION Rolling version number 1.7.0 -> 1.7.1 May 28, 2019
Vagrantfile Mount source dir in the vagrant host Nov 29, 2019
common_setup.py Moved setuptools-git into the Makefile setup as it isn't installing p… Nov 29, 2019
foreach.sh Working on build Nov 29, 2019
install.sh Drop Python 3.4 support - it's now end of life. Nov 29, 2019

README.md

A goody-bag of nifty plugins for pytest

CircleCI Coverage Status

Plugin Description
pytest-server-fixtures Extensible server-running framework with a suite of well-known databases and webservices included
pytest-shutil Unix shell and environment management tools
pytest-profiling Profiling plugin with tabular heat graph output and gprof support for C-Extensions
pytest-devpi-server DevPI server fixture
pytest-pyramid-server Pyramid server fixture
pytest-webdriver Selenium webdriver fixture
pytest-virtualenv Virtualenv fixture
pytest-qt-app PyQT application fixture
pytest-listener TCP Listener/Reciever for testing remote systems
pytest-git Git repository fixture
pytest-svn SVN repository fixture
pytest-fixture-config Configuration tools for Py.test fixtures
pytest-verbose-parametrize Makes py.test's parametrize output a little more verbose

Developing these plugins

All of these plugins share setup code and configuration so there is a top-level Makefile to automate process of setting them up for test and development.

Pre-requisites

You have python installed on your path, preferably using a virtualenv

Makefile targets

To install all dependencies and set up all of the packages for development simply run:

    make develop

To install all the packages as wheel distributions:

    make install

To run all the tests:

    make test

To setup test environment in Vagrant (requires virtualbox):

    $ vagrant up
    $ vagrant ssh

    # ..... inside vagrant ....
    . venv/bin/activate
    make develop
    make test

foreach.sh

To run a command in each of the package directories, use the foreach.sh script. This example will build all the wheel distributions:

    ./foreach.sh python setup.py bdist_wheel
You can’t perform that action at this time.