How to install pytest
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install pytest
Depended by
- Abjad
- alchemist
- ansiconv
- armet
- babel-obviel
- backup2swift
- bandersnatch
- bcrypt
- buildout.packagename
- camplight
- cromlech.container
- crust
- datatype
- db
- deform_bootstrap
- dev_db
- dj-redis-url
- dj-search-url
- dj-searchurl
- django-related-choice-field
- django-static-compiler
- django-view-as
- django_layers
- doctools
- dolmen.container
- eagleeye_te
- fanstatic
- fanstatictemplate
- feedly
- find_japanese
- Flask-Landing
- Flask-Redistore
- forklift
- foy-python
- genenga
- gocept.pytestlayer
- hatena2rst
- hocr
- internetarchive
- islpy
- jabbapylib
- jasmine
- jira-bulk-loader
- js.jquery
- js.jquery_jgrowl
- js.jquery_tooltip
- js.jqueryui
- js.yui
- keyring
- kmeans
- Kotti
- kotti_blog
- kotti_calendar
- kotti_contactform
- kotti_dkbase
- kotti_etherpad
- kotti_feed
- kotti_gallery
- kotti_image_gallery
- kotti_mapreduce
- kotti_media
- kotti_navigation
- kotti_paster
- kotti_software
- kotti_solr
- kotti_tinymce
- kotti_twitter
- kotti_video
- linkins
- markdown-checklist
- mediagoblin
- MeshPy
- mocket
- modepy
- mr.bob
- mr.poe
- nolearn
- nozama-cloudsearch-service
- pail
- pdfminer3k
- penelope.core
- pojson
- pp.core
- py-moneyed
- py.saunter
- pycuda
- pyfmmlib
- pykss
- pymbolic
- pymw
- PyNaCl
- pyoauth2
- pyopencl
- pyppi
- pyramid-tiny-utility
- pyramid_snippets
- pysaml2
- pytest-bdd
- pytest-bench
- pytest-blockage
- pytest-browsermob-proxy
- pytest-cache
- pytest-contextfixture
- pytest-couchdbkit
- pytest-cov
- pytest-dbfixtures
- pytest-django
- pytest-django-lite
- pytest-flakes
- pytest-greendots
- pytest-instafail
- pytest-konira
- pytest-localserver
- pytest-marker-bugzilla
- pytest-marks
- pytest-monkeyplus
- pytest-mozwebqa
- pytest-oerp
- pytest-paste-config
- pytest-pep8
- pytest-poo
- pytest-pydev
- pytest-qt
- pytest-quickcheck
- pytest-rage
- pytest-random
- pytest-rerunfailures
- pytest-runfailed
- pytest-sugar
- pytest-timeout
- pytest-twisted
- pytest-xdist
- pytest-xprocess
- pytest-zap
- pytest_gae
- pytest_sauce
- python-connpass
- python-facebook-api
- PyUblas
- RandomWords
- raven
- rebecca.repository
- rebecca.sqla
- rebecca.testing
- rebecca.todict
- rebecca.todict_bpmappers
- rebecca.view
- reikna
- Runner-pytest
- saml
- sample-data-utils
- sandman
- saunter
- scim
- sentry
- sentry-hipchat
- sentry-quotas
- shield
- sortedcollection
- sphinxcontrib-spam
- SQLAlchemy-Utils
- streamcorpus
- streamcorpus-dev
- supercell
- swiftsc
- Tango
- tasa
- tiddlyweb
- tiddlywebplugins.gitstore
- tiddlywebplugins.imaker
- tiddlywebplugins.mapuser
- tiddlywebplugins.templates
- tonicdnscli
- twotest
- udunitspy
- ulif.loghandlers
- ulif.openoffice
- vial
- warehouse
- webplotlib
- wheelcms
- wheelcms_axle
- wheelcms_categories
- wheelcms_project
- wheelcms_simplecontact
- wheelcms_spokes
- wheelcms_theme_bootswatch
- wheezy-routing
- wheezy.caching
- wheezy.captcha
- wheezy.core
- wheezy.html
- wheezy.http
- wheezy.routing
- wheezy.security
- wheezy.template
- wheezy.validation
- wheezy.web
- wishbone
- WTForms-Alchemy
- xmlrpc2
- xmlsec
- yfind
- zope.pytest
Lastest release
The py.test testing tool makes it easy to write small tests, yet scales to support complex functional testing. It provides
- auto-discovery of test modules and functions,
- detailed info on failing assert statements (no need to remember self.assert* names)
- modular fixtures for managing small or parametrized long-lived test resources.
- multi-paradigm support: you can use py.test to run test suites based on unittest (or trial), nose
- single-source compatibility to Python2.4 all the way up to Python3.3, PyPy-1.9 and Jython-2.5.1.
- many external plugins.
A simple example for a test:
# content of test_module.py def test_function(): i = 4 assert i == 3
which can be run with py.test test_module.py. See getting-started for more examples.
For much more info, including PDF docs, see
http://pytest.org
and report bugs at:
http://bitbucket.org/hpk42/pytest/issues/
Copyright Holger Krekel and others, 2004-2012