diff options
Diffstat (limited to 'testing/web-platform/tests/tools/pytest/doc/en/example/index.rst')
-rw-r--r-- | testing/web-platform/tests/tools/pytest/doc/en/example/index.rst | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/pytest/doc/en/example/index.rst b/testing/web-platform/tests/tools/pytest/doc/en/example/index.rst new file mode 100644 index 000000000..363de5ab7 --- /dev/null +++ b/testing/web-platform/tests/tools/pytest/doc/en/example/index.rst @@ -0,0 +1,34 @@ + +.. _examples: + +Usages and Examples +=========================================== + +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 |