test_ok1/doc/en/builtin.rst

28 lines
611 B
ReStructuredText
Raw Normal View History

2018-02-27 07:27:15 +08:00
:orphan:
.. _`pytest helpers`:
Pytest API and builtin fixtures
================================================
2018-02-27 07:27:15 +08:00
Most of the information of this page has been moved over to :ref:`reference`.
For information on plugin hooks and objects, see :ref:`plugins`.
For information on the ``pytest.mark`` mechanism, see :ref:`mark`.
2018-02-27 07:27:15 +08:00
For information about fixtures, see :ref:`fixtures`. To see a complete list of available fixtures, type::
2018-02-27 07:27:15 +08:00
$ pytest -q --fixtures
2018-02-27 07:27:15 +08:00
You can also interactively ask for help, e.g. by typing on the Python interactive prompt something like::
2018-02-27 07:27:15 +08:00
import pytest
help(pytest)