enhance index page, fix announcement index
This commit is contained in:
parent
bbd265184d
commit
9d8645b45d
|
@ -5,6 +5,7 @@ Release announcements
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
release-2.3.5
|
||||||
release-2.3.4
|
release-2.3.4
|
||||||
release-2.3.3
|
release-2.3.3
|
||||||
release-2.3.2
|
release-2.3.2
|
||||||
|
|
|
@ -11,8 +11,11 @@ pytest: helps you write better programs
|
||||||
|
|
||||||
- runs on Posix/Windows, Python 2.4-3.3, PyPy and Jython-2.5.1
|
- runs on Posix/Windows, Python 2.4-3.3, PyPy and Jython-2.5.1
|
||||||
- :ref:`comprehensive online <toc>` and `PDF documentation <pytest.pdf>`_
|
- :ref:`comprehensive online <toc>` and `PDF documentation <pytest.pdf>`_
|
||||||
|
- many :ref:`third party plugins <extplugins>` and
|
||||||
|
:ref:`builtin helpers <pytest helpers>`
|
||||||
- used in :ref:`many projects and organisations <projects>`, in test
|
- used in :ref:`many projects and organisations <projects>`, in test
|
||||||
suites ranging from 10 to 10s of thousands of tests
|
suites with up to twenty thousand tests
|
||||||
|
- strict policy of remaining backward compatible across releases
|
||||||
- comes with many :ref:`tested examples <examples>`
|
- comes with many :ref:`tested examples <examples>`
|
||||||
|
|
||||||
**provides easy no-boilerplate testing**
|
**provides easy no-boilerplate testing**
|
||||||
|
@ -26,13 +29,13 @@ pytest: helps you write better programs
|
||||||
|
|
||||||
**scales from simple unit to complex functional testing**
|
**scales from simple unit to complex functional testing**
|
||||||
|
|
||||||
- (new in 2.3) :ref:`modular parametrizeable fixtures <fixture>`
|
- :ref:`modular parametrizeable fixtures <fixture>` (new in 2.3,
|
||||||
|
improved in 2.4)
|
||||||
- :ref:`parametrized test functions <parametrized test functions>`
|
- :ref:`parametrized test functions <parametrized test functions>`
|
||||||
- :ref:`mark`
|
- :ref:`mark`
|
||||||
- :ref:`skipping`
|
- :ref:`skipping` (improved in 2.4)
|
||||||
- can :ref:`distribute tests to multiple CPUs <xdistcpu>` through :ref:`xdist plugin <xdist>`
|
- can :ref:`distribute tests to multiple CPUs <xdistcpu>` through :ref:`xdist plugin <xdist>`
|
||||||
- can :ref:`continuously re-run failing tests <looponfailing>`
|
- can :ref:`continuously re-run failing tests <looponfailing>`
|
||||||
- many :ref:`builtin helpers <pytest helpers>` and :ref:`plugins <plugins>`
|
|
||||||
- flexible :ref:`Python test discovery`
|
- flexible :ref:`Python test discovery`
|
||||||
|
|
||||||
**integrates many common testing methods**:
|
**integrates many common testing methods**:
|
||||||
|
@ -50,8 +53,8 @@ pytest: helps you write better programs
|
||||||
**extensive plugin and customization system**:
|
**extensive plugin and customization system**:
|
||||||
|
|
||||||
- all collection, reporting, running aspects are delegated to hook functions
|
- all collection, reporting, running aspects are delegated to hook functions
|
||||||
- customizations can be per-directory, per-project or per PyPI released plugins
|
- customizations can be per-directory, per-project or per PyPI released plugin
|
||||||
- it is easy to add command line options or do other kind of add-ons and customizations.
|
- it is easy to add command line options or customize existing behaviour
|
||||||
|
|
||||||
.. _`Javascript unit- and functional testing`: http://pypi.python.org/pypi/oejskit
|
.. _`Javascript unit- and functional testing`: http://pypi.python.org/pypi/oejskit
|
||||||
|
|
||||||
|
|
|
@ -78,12 +78,22 @@ there is no need to activate it. Here is a initial list of known plugins:
|
||||||
* `pytest-capturelog <http://pypi.python.org/pypi/pytest-capturelog>`_:
|
* `pytest-capturelog <http://pypi.python.org/pypi/pytest-capturelog>`_:
|
||||||
to capture and assert about messages from the logging module
|
to capture and assert about messages from the logging module
|
||||||
|
|
||||||
|
* `pytest-cov <http://pypi.python.org/pypi/pytest-cov>`_:
|
||||||
|
coverage reporting, compatible with distributed testing
|
||||||
|
|
||||||
* `pytest-xdist <http://pypi.python.org/pypi/pytest-xdist>`_:
|
* `pytest-xdist <http://pypi.python.org/pypi/pytest-xdist>`_:
|
||||||
to distribute tests to CPUs and remote hosts, to run in boxed
|
to distribute tests to CPUs and remote hosts, to run in boxed
|
||||||
mode which allows to survive segmentation faults, to run in
|
mode which allows to survive segmentation faults, to run in
|
||||||
looponfailing mode, automatically re-running failing tests
|
looponfailing mode, automatically re-running failing tests
|
||||||
on file changes, see also :ref:`xdist`
|
on file changes, see also :ref:`xdist`
|
||||||
|
|
||||||
|
* `pytest-instafail <http://pypi.python.org/pypi/pytest-instafail>`_:
|
||||||
|
to report failures while the test run is happening.
|
||||||
|
|
||||||
|
* `pytest-bdd <http://pypi.python.org/pypi/pytest-bdd>`_ and
|
||||||
|
`pytest-konira <http://pypi.python.org/pypi/pytest-konira>`_
|
||||||
|
to write tests using behaviour-driven testing.
|
||||||
|
|
||||||
* `pytest-timeout <http://pypi.python.org/pypi/pytest-timeout>`_:
|
* `pytest-timeout <http://pypi.python.org/pypi/pytest-timeout>`_:
|
||||||
to timeout tests based on function marks or global definitions.
|
to timeout tests based on function marks or global definitions.
|
||||||
|
|
||||||
|
@ -91,9 +101,6 @@ there is no need to activate it. Here is a initial list of known plugins:
|
||||||
to interactively re-run failing tests and help other plugins to
|
to interactively re-run failing tests and help other plugins to
|
||||||
store test run information across invocations.
|
store test run information across invocations.
|
||||||
|
|
||||||
* `pytest-cov <http://pypi.python.org/pypi/pytest-cov>`_:
|
|
||||||
coverage reporting, compatible with distributed testing
|
|
||||||
|
|
||||||
* `pytest-pep8 <http://pypi.python.org/pypi/pytest-pep8>`_:
|
* `pytest-pep8 <http://pypi.python.org/pypi/pytest-pep8>`_:
|
||||||
a ``--pep8`` option to enable PEP8 compliance checking.
|
a ``--pep8`` option to enable PEP8 compliance checking.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue