A goody-bag of nifty plugins for Py.Test
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 |
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.
You have python
installed on your path as well as virtualenv
To create a local virtualenv called venv
, install all extra dependencies and set up all
of the packages for development simply run:
make develop
To do this for a subset of packages run:
make develop PACKAGES="pytest-profiling pytest-devpi"
If you already have a virtualenv and would rather just use that, you can run this to copy all the required files in place and setup up all the packages using that:
make local_develop