test_ok2/doc/en/example/index.rst

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
935 B
ReStructuredText
Raw Permalink Normal View History

.. _examples:
Examples and customization tricks
=================================
Here is a (growing) list of examples. :ref:`Contact <contact>` us if you
2012-10-20 15:52:03 +08:00
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
- :ref:`get-started` for basic introductory examples
2012-10-20 15:52:03 +08:00
- :ref:`assert` for basic assertion examples
- :ref:`Fixtures <fixtures>` for basic fixture/setup examples
- :ref:`parametrize` for basic test function parametrization
- :ref:`unittest` for basic unittest integration
2012-10-20 15:52:03 +08:00
The following examples aim at various use cases you might encounter.
.. toctree::
:maxdepth: 2
reportingdemo
simple
parametrize
markers
special
pythoncollection
nonpython
customdirectory