nicoddemus/dev/: pytest-3.2.4 metadata and description

pytest: simple powerful testing with Python

Metadata
author Holger Krekel, Bruno Oliveira, Ronny Pfannschmidt, Floris Bruynooghe, Brianna Laugher, Florian Bruhin and others
classifiers
  • Development Status :: 6 - Mature
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Operating System :: POSIX
  • Operating System :: Microsoft :: Windows
  • Operating System :: MacOS :: MacOS X
  • Topic :: Software Development :: Testing
  • Topic :: Software Development :: Libraries
  • Topic :: Utilities
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.4
  • Programming Language :: Python :: 3.5
  • Programming Language :: Python :: 3.6
keywords test unittest
license MIT license
Files
File Tox results History
pytest-3.2.4-py2.py3-none-any.whl
Size
184 KB
Type
Python Wheel
Python
2.7
sha256
cfee9a9b6c0e76962490135fb978b65734e639ff39cde1358f5473fad92dabd9
APPVYR-WIN win32 docs 2.7.14 Tests passed
APPVYR-WIN win32 py35-freeze 3.5.3 Tests passed
APPVYR-WIN win32 doctesting 2.7.14 Tests passed
APPVYR-WIN win32 py27-nobyte 2.7.14 Tests passed
APPVYR-WIN win32 py36-numpy 3.6.3 Tests passed
APPVYR-WIN win32 py36-trial 3.6.3 Tests passed
APPVYR-WIN win32 py36-xdist 3.6.3 Tests passed
APPVYR-WIN win32 py27-numpy 2.7.14 Tests passed
APPVYR-WIN win32 py27-trial 2.7.14 Tests passed
APPVYR-WIN win32 py27-xdist 2.7.14 Tests passed
APPVYR-WIN win32 pypy 2.7.13 Tests passed
APPVYR-WIN win32 py36 3.6.3 Tests passed
APPVYR-WIN win32 py35 3.5.3 Tests passed
APPVYR-WIN win32 py34 3.4.4 Tests passed
APPVYR-WIN win32 py27 2.7.14 Tests passed
APPVYR-WIN win32 py26 2.6.6 Tests passed
APPVYR-WIN win32 linting 2.7.14 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590770.travisci.net linux2 pypy 2.7.10 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590782.travisci.net linux py37 3.7.0a0 Tests failed
travis-job-nicoddemus-devpi-cloud-te-301590771.travisci.net linux py35 3.5.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590763.travisci.net linux3 py26 2.6.9 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590778.travisci.net linux py35-freeze 3.5.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590748.travisci.net linux py27-nobyte 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590761.travisci.net linux docs 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590743.travisci.net linux py36-xdist 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590754.travisci.net linux doctesting 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590745.travisci.net linux py36-numpy 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590744.travisci.net linux py36-trial 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590704.travisci.net linux py36 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590740.travisci.net linux py36-pexpect 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590697.travisci.net linux py27 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590698.travisci.net linux py34 3.4.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590739.travisci.net linux py27-numpy 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590709.travisci.net linux py27-xdist 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590737.travisci.net linux py27-trial 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590708.travisci.net linux py27-pexpect 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590690.travisci.net linux linting 2.7.6 Tests passed
All toxresults …
  • Replaced 1 time(s)
  • Uploaded to nicoddemus/dev by nicoddemus 2017-11-13 20:01:25
pytest-3.2.4.tar.gz
Size
774 KB
Type
Source
sha256
f50c9d0e07f0b028f6046448cd7b66bd48ff4ed004641db3ea2898af3b9eaeee
APPVYR-WIN win32 docs 2.7.14 Tests passed
APPVYR-WIN win32 py35-freeze 3.5.3 Tests passed
APPVYR-WIN win32 doctesting 2.7.14 Tests passed
APPVYR-WIN win32 py27-nobyte 2.7.14 Tests passed
APPVYR-WIN win32 py36-numpy 3.6.3 Tests passed
APPVYR-WIN win32 py36-trial 3.6.3 Tests passed
APPVYR-WIN win32 py36-xdist 3.6.3 Tests passed
APPVYR-WIN win32 py27-numpy 2.7.14 Tests passed
APPVYR-WIN win32 py27-trial 2.7.14 Tests passed
APPVYR-WIN win32 py27-xdist 2.7.14 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590766.travisci.net linux py33 Tests failed
APPVYR-WIN win32 pypy 2.7.13 Tests passed
APPVYR-WIN win32 py36 3.6.3 Tests passed
APPVYR-WIN win32 py35 3.5.3 Tests passed
APPVYR-WIN win32 py34 3.4.4 Tests passed
APPVYR-WIN win32 py33 Tests failed
APPVYR-WIN win32 py27 2.7.14 Tests passed
APPVYR-WIN win32 py26 2.6.6 Tests passed
APPVYR-WIN win32 linting 2.7.14 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590770.travisci.net linux2 pypy 2.7.10 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590782.travisci.net linux py37 3.7.0a0 Tests failed
travis-job-nicoddemus-devpi-cloud-te-301590771.travisci.net linux py35 3.5.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590763.travisci.net linux3 py26 2.6.9 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590778.travisci.net linux py35-freeze 3.5.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590748.travisci.net linux py27-nobyte 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590761.travisci.net linux docs 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590754.travisci.net linux doctesting 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590745.travisci.net linux py36-numpy 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590743.travisci.net linux py36-xdist 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590744.travisci.net linux py36-trial 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590740.travisci.net linux py36-pexpect 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590739.travisci.net linux py27-numpy 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590737.travisci.net linux py27-trial 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590697.travisci.net linux py27 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590704.travisci.net linux py36 3.6.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590698.travisci.net linux py34 3.4.3 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590709.travisci.net linux py27-xdist 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590708.travisci.net linux py27-pexpect 2.7.6 Tests passed
travis-job-nicoddemus-devpi-cloud-te-301590690.travisci.net linux linting 2.7.6 Tests passed
All toxresults …
  • Replaced 1 time(s)
  • Uploaded to nicoddemus/dev by nicoddemus 2017-11-13 20:01:31
pytest
https://img.shields.io/pypi/v/pytest.svg https://anaconda.org/conda-forge/pytest/badges/version.svg https://img.shields.io/pypi/pyversions/pytest.svg https://img.shields.io/coveralls/pytest-dev/pytest/master.svg https://travis-ci.org/pytest-dev/pytest.svg?branch=master https://ci.appveyor.com/api/projects/status/mrgbjaua7t33pg6b?svg=true

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.

An example of a simple test:

# content of test_sample.py
def inc(x):
    return x + 1

def test_answer():
    assert inc(3) == 5

To execute it:

$ pytest
============================= test session starts =============================
collected 1 items

test_sample.py F

================================== FAILURES ===================================
_________________________________ test_answer _________________________________

    def test_answer():
>       assert inc(3) == 5
E       assert 4 == 5
E        +  where 4 = inc(3)

test_sample.py:5: AssertionError
========================== 1 failed in 0.04 seconds ===========================

Due to pytest’s detailed assertion introspection, only plain assert statements are used. See getting-started for more examples.

Features

  • Detailed info on failing assert statements (no need to remember self.assert* names);

  • Auto-discovery of test modules and functions;

  • Modular fixtures for managing small or parametrized long-lived test resources;

  • Can run unittest (or trial), nose test suites out of the box;

  • Python2.6+, Python3.3+, PyPy-2.3, Jython-2.5 (untested);

  • Rich plugin architecture, with over 315+ external plugins and thriving community;

Documentation

For full documentation, including installation, tutorials and PDF documents, please see http://docs.pytest.org.

Bugs/Requests

Please use the GitHub issue tracker to submit bugs or request features.

Changelog

Consult the Changelog page for fixes and enhancements of each version.

License

Copyright Holger Krekel and others, 2004-2017.

Distributed under the terms of the MIT license, pytest is free and open source software.