fune/third_party/python/pytest/doc/en/example/index.rst
Dave Hunt 21f960591b Bug 1464082 - Vendor pytest via |mach vendor python|; r=ahal
Updated to 3.2.5.

MozReview-Commit-ID: 34OG1iGeMVW

--HG--
extra : rebase_source : 3ffa191b142f60897abb0728f53e71b8cda52701
2018-05-24 16:18:27 +01:00

34 lines
964 B
ReStructuredText

.. _examples:
Examples and customization tricks
=================================
Here is a (growing) list of examples. :ref:`Contact <contact>` us if you
need more examples or have questions. Also take a look at the
:ref:`comprehensive documentation <toc>` which contains many example
snippets as well. Also, `pytest on stackoverflow.com
<http://stackoverflow.com/search?q=pytest>`_ often comes with example
answers.
For basic examples, see
- :doc:`../getting-started` for basic introductory examples
- :ref:`assert` for basic assertion examples
- :ref:`fixtures` for basic fixture/setup examples
- :ref:`parametrize` for basic test function parametrization
- :doc:`../unittest` for basic unittest integration
- :doc:`../nose` for basic nosetests integration
The following examples aim at various use cases you might encounter.
.. toctree::
:maxdepth: 2
reportingdemo
simple
parametrize
markers
special
pythoncollection
nonpython