~ibmcharmers/charms/xenial/ibm-cinder-storwize-svc/trunk

« back to all changes in this revision

Viewing changes to .tox/py35/lib/python3.5/site-packages/pytest-3.0.6.dist-info/METADATA

  • Committer: Ankammarao
  • Date: 2017-03-06 05:11:42 UTC
  • Revision ID: achittet@in.ibm.com-20170306051142-dpg27z4es1k56hfn
Marked tests folder executable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Metadata-Version: 2.0
 
2
Name: pytest
 
3
Version: 3.0.6
 
4
Summary: pytest: simple powerful testing with Python
 
5
Home-page: http://pytest.org
 
6
Author: Holger Krekel, Bruno Oliveira, Ronny Pfannschmidt, Floris Bruynooghe, Brianna Laugher, Florian Bruhin and others
 
7
Author-email: UNKNOWN
 
8
License: MIT license
 
9
Keywords: test unittest
 
10
Platform: unix
 
11
Platform: linux
 
12
Platform: osx
 
13
Platform: cygwin
 
14
Platform: win32
 
15
Classifier: Development Status :: 6 - Mature
 
16
Classifier: Intended Audience :: Developers
 
17
Classifier: License :: OSI Approved :: MIT License
 
18
Classifier: Operating System :: POSIX
 
19
Classifier: Operating System :: Microsoft :: Windows
 
20
Classifier: Operating System :: MacOS :: MacOS X
 
21
Classifier: Topic :: Software Development :: Testing
 
22
Classifier: Topic :: Software Development :: Libraries
 
23
Classifier: Topic :: Utilities
 
24
Classifier: Programming Language :: Python :: 2
 
25
Classifier: Programming Language :: Python :: 2.6
 
26
Classifier: Programming Language :: Python :: 2.7
 
27
Classifier: Programming Language :: Python :: 3
 
28
Classifier: Programming Language :: Python :: 3.3
 
29
Classifier: Programming Language :: Python :: 3.4
 
30
Classifier: Programming Language :: Python :: 3.5
 
31
Requires-Dist: py (>=1.4.29)
 
32
Requires-Dist: setuptools
 
33
Requires-Dist: argparse; python_version=="2.6"
 
34
Requires-Dist: colorama; sys_platform=="win32"
 
35
 
 
36
.. image:: http://docs.pytest.org/en/latest/_static/pytest1.png
 
37
   :target: http://docs.pytest.org
 
38
   :align: center
 
39
   :alt: pytest
 
40
 
 
41
------
 
42
 
 
43
.. image:: https://img.shields.io/pypi/v/pytest.svg
 
44
   :target: https://pypi.python.org/pypi/pytest
 
45
.. image:: https://img.shields.io/pypi/pyversions/pytest.svg
 
46
  :target: https://pypi.python.org/pypi/pytest
 
47
.. image:: https://img.shields.io/coveralls/pytest-dev/pytest/master.svg
 
48
   :target: https://coveralls.io/r/pytest-dev/pytest
 
49
.. image:: https://travis-ci.org/pytest-dev/pytest.svg?branch=master
 
50
    :target: https://travis-ci.org/pytest-dev/pytest
 
51
.. image:: https://ci.appveyor.com/api/projects/status/mrgbjaua7t33pg6b?svg=true
 
52
    :target: https://ci.appveyor.com/project/pytestbot/pytest
 
53
 
 
54
The ``pytest`` framework makes it easy to write small tests, yet
 
55
scales to support complex functional testing for applications and libraries.
 
56
 
 
57
An example of a simple test:
 
58
 
 
59
.. code-block:: python
 
60
 
 
61
    # content of test_sample.py
 
62
    def inc(x):
 
63
        return x + 1
 
64
 
 
65
    def test_answer():
 
66
        assert inc(3) == 5
 
67
 
 
68
 
 
69
To execute it::
 
70
 
 
71
    $ pytest
 
72
    ============================= test session starts =============================    
 
73
    collected 1 items
 
74
 
 
75
    test_sample.py F
 
76
 
 
77
    ================================== FAILURES ===================================
 
78
    _________________________________ test_answer _________________________________
 
79
 
 
80
        def test_answer():
 
81
    >       assert inc(3) == 5
 
82
    E       assert 4 == 5
 
83
    E        +  where 4 = inc(3)
 
84
 
 
85
    test_sample.py:5: AssertionError
 
86
    ========================== 1 failed in 0.04 seconds ===========================
 
87
 
 
88
 
 
89
Due to ``pytest``'s detailed assertion introspection, only plain ``assert`` statements are used. See `getting-started <http://docs.pytest.org/en/latest/getting-started.html#our-first-test-run>`_ for more examples.
 
90
 
 
91
 
 
92
Features
 
93
--------
 
94
 
 
95
- Detailed info on failing `assert statements <http://docs.pytest.org/en/latest/assert.html>`_ (no need to remember ``self.assert*`` names);
 
96
 
 
97
- `Auto-discovery
 
98
  <http://docs.pytest.org/en/latest/goodpractices.html#python-test-discovery>`_
 
99
  of test modules and functions;
 
100
 
 
101
- `Modular fixtures <http://docs.pytest.org/en/latest/fixture.html>`_ for
 
102
  managing small or parametrized long-lived test resources;
 
103
 
 
104
- Can run `unittest <http://docs.pytest.org/en/latest/unittest.html>`_ (or trial),
 
105
  `nose <http://docs.pytest.org/en/latest/nose.html>`_ test suites out of the box;
 
106
 
 
107
- Python2.6+, Python3.3+, PyPy-2.3, Jython-2.5 (untested);
 
108
 
 
109
- Rich plugin architecture, with over 150+ `external plugins <http://docs.pytest.org/en/latest/plugins.html#installing-external-plugins-searching>`_ and thriving community;
 
110
 
 
111
 
 
112
Documentation
 
113
-------------
 
114
 
 
115
For full documentation, including installation, tutorials and PDF documents, please see http://docs.pytest.org.
 
116
 
 
117
 
 
118
Bugs/Requests
 
119
-------------
 
120
 
 
121
Please use the `GitHub issue tracker <https://github.com/pytest-dev/pytest/issues>`_ to submit bugs or request features.
 
122
 
 
123
 
 
124
Changelog
 
125
---------
 
126
 
 
127
Consult the `Changelog <http://docs.pytest.org/en/latest/changelog.html>`__ page for fixes and enhancements of each version.
 
128
 
 
129
 
 
130
License
 
131
-------
 
132
 
 
133
Copyright Holger Krekel and others, 2004-2016.
 
134
 
 
135
Distributed under the terms of the `MIT`_ license, pytest is free and open source software.
 
136
 
 
137
.. _`MIT`: https://github.com/pytest-dev/pytest/blob/master/LICENSE
 
138
 
 
139