Navigation
index
pytest-5.2
»
Index
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
|
X
_
_Result (class in pluggy._callers)
A
add_cleanup() (Config method)
add_hookcall_monitoring() (PluginManager method)
add_hookspecs() (PluginManager method)
add_marker() (Node method)
add_report_section() (Item method)
addfinalizer() (FixtureRequest method)
(Node method)
addini() (Parser method)
addinivalue_line() (Config method)
addoption() (Parser method)
addopts
configuration value
applymarker() (FixtureRequest method)
approx() (in module _pytest.python_api)
args (Mark attribute)
(MarkDecorator property)
assert_outcomes() (RunResult method)
at_level() (LogCaptureFixture method)
B
built-in function
pytest.mark.filterwarnings()
pytest.mark.skip()
pytest.mark.skipif()
pytest.mark.usefixtures()
pytest.mark.xfail()
C
cache_dir
configuration value
CallInfo (class in _pytest.runner)
capfd
fixture
capfd() (in module _pytest.capture)
capfdbinary
fixture
capfdbinary() (in module _pytest.capture)
caplog
fixture
caplog (TestReport property)
caplog() (in module _pytest.logging)
capstderr (TestReport property)
capstdout (TestReport property)
capsys
fixture
capsys() (in module _pytest.capture)
capsysbinary
fixture
capsysbinary() (in module _pytest.capture)
CaptureFixture (class in _pytest.capture)
chdir() (MonkeyPatch method)
(Testdir method)
check_pending() (PluginManager method)
Class (class in _pytest.python)
clear() (LogCaptureFixture method)
(WarningsRecorder method)
CLOSE_STDIN (Testdir attribute)
cls (FixtureRequest property)
(Metafunc attribute)
collect() (Class method)
(Collector method)
(Module method)
(Session method)
collect_by_name() (Testdir method)
Collector (class in _pytest.nodes)
Collector.CollectError
combined_with() (Mark method)
confcutdir
configuration value
Config (class in _pytest.config)
config (FixtureRequest property)
(Metafunc attribute)
config.cache
fixture
Config.InvocationParams (class in _pytest.config)
configuration value
addopts
cache_dir
confcutdir
console_output_style
doctest_encoding
doctest_optionflags
empty_parameter_set_mark
faulthandler_timeout
filterwarnings
junit_duration_report
junit_family
junit_log_passing_tests
junit_logging
junit_suite_name
log_auto_indent
log_cli
log_cli_date_format
log_cli_format
log_cli_level
log_date_format
log_file
log_file_date_format
log_file_format
log_file_level
log_format
log_level
log_print
markers
minversion
norecursedirs
python_classes
python_files
python_functions
testpaths
usefixtures
xfail_strict
consider_conftest() (PytestPluginManager method)
consider_env() (PytestPluginManager method)
consider_module() (PytestPluginManager method)
consider_pluginarg() (PytestPluginManager method)
consider_preparse() (PytestPluginManager method)
console_output_style
configuration value
context() (MonkeyPatch method)
copy_example() (Testdir method)
count_towards_summary (TestReport property)
D
delattr() (MonkeyPatch method)
delenv() (MonkeyPatch method)
delitem() (MonkeyPatch method)
deprecated_call() (in module pytest)
disabled() (CaptureFixture method)
doctest_encoding
configuration value
doctest_namespace
fixture
doctest_namespace() (in module _pytest.doctest)
doctest_optionflags
configuration value
duration (TestReport attribute)
E
empty_parameter_set_mark
configuration value
enable_tracing() (PluginManager method)
errisinstance() (ExceptionInfo method)
ExceptionInfo (class in _pytest._code)
exconly() (ExceptionInfo method)
exit() (in module _pytest.outcomes)
ExitCode (class in _pytest.config)
extra_keyword_matches (Node attribute)
F
fail() (in module _pytest.outcomes)
faulthandler_timeout
configuration value
fill_unfilled() (ExceptionInfo method)
filterwarnings
configuration value
finalize() (Testdir method)
fixture
capfd
capfdbinary
caplog
capsys
capsysbinary
config.cache
doctest_namespace
monkeypatch
pytestconfig
record_property
record_testsuite_property
recwarn
request
testdir
tmp_path
tmp_path_factory
tmpdir
tmpdir_factory
fixture() (in module pytest)
FixtureDef (class in _pytest.fixtures)
fixturename (FixtureRequest attribute)
fixturenames (FixtureRequest property)
(Metafunc attribute)
FixtureRequest (class in _pytest.fixtures)
fnmatch_lines() (LineMatcher method)
fnmatch_lines_random() (LineMatcher method)
for_later() (ExceptionInfo class method)
force_result() (_Result method)
freeze_includes() (in module pytest)
from_current() (ExceptionInfo class method)
from_exc_info() (ExceptionInfo class method)
from_item_and_call() (TestReport class method)
from_parent() (Class class method)
(FSCollector class method)
(Function class method)
(Node class method)
fromdictargs() (Config class method)
FSCollector (class in _pytest.nodes)
fspath (FixtureRequest property)
(Node attribute)
funcargnames (FixtureRequest property)
(Function property)
(Metafunc property)
Function (class in _pytest.python)
function (FixtureRequest property)
(Function property)
(Metafunc attribute)
G
genitems() (Testdir method)
get() (Cache method)
get_canonical_name() (PluginManager method)
get_closest_marker() (Node method)
get_hookcallers() (PluginManager method)
get_lines_after() (LineMatcher method)
get_name() (PluginManager method)
get_plugin() (PluginManager method)
get_plugins() (PluginManager method)
get_records() (LogCaptureFixture method)
get_result() (_Result method)
getbasetemp() (TempdirFactory method)
(TempPathFactory method)
getfixturevalue() (FixtureRequest method)
getgroup() (Parser method)
getini() (Config method)
getinicfg() (Testdir method)
getitem() (Testdir method)
getitems() (Testdir method)
getmodulecol() (Testdir method)
getnode() (Testdir method)
getoption() (Config method)
getparent() (Node method)
getpathnode() (Testdir method)
getplugin() (PytestPluginManager method)
getrepr() (ExceptionInfo method)
getvalue() (Config method)
getvalueorskip() (Config method)
H
handler (LogCaptureFixture property)
has_plugin() (PluginManager method)
hasplugin() (PytestPluginManager method)
head_line (TestReport property)
I
ihook (Node property)
import_plugin() (PytestPluginManager method)
importorskip() (in module _pytest.outcomes)
inline_genitems() (Testdir method)
inline_run() (Testdir method)
inline_runsource() (Testdir method)
instance (FixtureRequest property)
INTERNAL_ERROR (ExitCode attribute)
INTERRUPTED (ExitCode attribute)
invocation_dir (Config property)
is_blocked() (PluginManager method)
is_registered() (PluginManager method)
Item (class in _pytest.nodes)
iter_markers() (Node method)
iter_markers_with_node() (Node method)
J
junit_duration_report
configuration value
junit_family
configuration value
junit_log_passing_tests
configuration value
junit_logging
configuration value
junit_suite_name
configuration value
K
keywords (FixtureRequest property)
(Node attribute)
(TestReport attribute)
kwargs (Mark attribute)
(MarkDecorator property)
L
LineMatcher (class in _pytest.pytester)
list (WarningsRecorder property)
list_name_plugin() (PluginManager method)
list_plugin_distinfo() (PluginManager method)
listchain() (Node method)
listextrakeywords() (Node method)
load_setuptools_entrypoints() (PluginManager method)
location (TestReport attribute)
log_auto_indent
configuration value
log_cli
configuration value
log_cli_date_format
configuration value
log_cli_format
configuration value
log_cli_level
configuration value
log_date_format
configuration value
log_file
configuration value
log_file_date_format
configuration value
log_file_format
configuration value
log_file_level
configuration value
log_format
configuration value
log_level
configuration value
log_print
configuration value
LogCaptureFixture (class in _pytest.logging)
longrepr (TestReport attribute)
longreprtext (TestReport property)
M
main() (in module _pytest.config)
make_hook_recorder() (Testdir method)
makeconftest() (Testdir method)
makedir() (Cache method)
makefile() (Testdir method)
makefiles() (Testdir method)
makeini() (Testdir method)
makepyfile() (Testdir method)
maketxtfile() (Testdir method)
Mark (class in _pytest.mark.structures)
MarkDecorator (class in _pytest.mark)
markers
configuration value
MarkGenerator (class in _pytest.mark)
match() (ExceptionInfo method)
messages (LogCaptureFixture property)
Metafunc (class in _pytest.python)
minversion
configuration value
mkdir() (Testdir method)
mkpydir() (Testdir method)
mktemp() (TempdirFactory method)
(TempPathFactory method)
mockimport() (MonkeyPatch method)
Module (class in _pytest.python)
module (FixtureRequest property)
(Metafunc attribute)
monkeypatch
fixture
MonkeyPatch (class in _pytest.monkeypatch)
monkeypatch() (in module _pytest.monkeypatch)
N
name (Mark attribute)
(MarkDecorator property)
(Node attribute)
no_fnmatch_line() (LineMatcher method)
no_re_match_line() (LineMatcher method)
NO_TESTS_COLLECTED (ExitCode attribute)
Node (class in _pytest.nodes)
node (FixtureRequest property)
nodeid (Node property)
(TestReport attribute)
norecursedirs
configuration value
O
OK (ExitCode attribute)
originalname (Function attribute)
outcome (TestReport attribute)
own_markers (Node attribute)
P
param() (in module pytest)
parametrize() (Metafunc method)
parent (Node attribute)
parse_hookimpl_opts() (PytestPluginManager method)
parse_hookspec_opts() (PytestPluginManager method)
parse_known_and_unknown_args() (Parser method)
parse_known_args() (Parser method)
parseconfig() (Testdir method)
parseconfigure() (Testdir method)
parseoutcomes() (RunResult method)
Parser (class in _pytest.config.argparsing)
PluginManager (class in pluggy)
plugins (Testdir attribute)
pop() (WarningsRecorder method)
popen() (Testdir method)
pytest.mark.filterwarnings()
built-in function
pytest.mark.skip()
built-in function
pytest.mark.skipif()
built-in function
pytest.mark.usefixtures()
built-in function
pytest.mark.xfail()
built-in function
pytest_addhooks() (in module _pytest.hookspec)
pytest_addoption() (in module _pytest.hookspec)
pytest_assertion_pass() (in module _pytest.hookspec)
pytest_assertrepr_compare() (in module _pytest.hookspec)
pytest_cmdline_main() (in module _pytest.hookspec)
pytest_cmdline_parse() (in module _pytest.hookspec)
pytest_cmdline_preparse() (in module _pytest.hookspec)
pytest_collect_directory() (in module _pytest.hookspec)
pytest_collect_file() (in module _pytest.hookspec)
pytest_collection() (in module _pytest.hookspec)
pytest_collection_finish() (in module _pytest.hookspec)
pytest_collection_modifyitems() (in module _pytest.hookspec)
pytest_collectreport() (in module _pytest.hookspec)
pytest_collectstart() (in module _pytest.hookspec)
pytest_configure() (in module _pytest.hookspec)
(PytestPluginManager method)
pytest_deselected() (in module _pytest.hookspec)
(Session method)
pytest_enter_pdb() (in module _pytest.hookspec)
pytest_exception_interact() (in module _pytest.hookspec)
pytest_fixture_post_finalizer() (in module _pytest.hookspec)
pytest_fixture_setup() (in module _pytest.hookspec)
pytest_generate_tests() (in module _pytest.hookspec)
pytest_ignore_collect() (in module _pytest.hookspec)
pytest_internalerror() (in module _pytest.hookspec)
pytest_itemcollected() (in module _pytest.hookspec)
pytest_keyboard_interrupt() (in module _pytest.hookspec)
pytest_load_initial_conftests() (in module _pytest.hookspec)
pytest_make_collect_report() (in module _pytest.hookspec)
pytest_make_parametrize_id() (in module _pytest.hookspec)
pytest_plugin_registered() (in module _pytest.hookspec)
pytest_pycollect_makeitem() (in module _pytest.hookspec)
pytest_pycollect_makemodule() (in module _pytest.hookspec)
pytest_pyfunc_call() (in module _pytest.hookspec)
pytest_report_collectionfinish() (in module _pytest.hookspec)
pytest_report_header() (in module _pytest.hookspec)
pytest_report_teststatus() (in module _pytest.hookspec)
pytest_runtest_call() (in module _pytest.hookspec)
pytest_runtest_logfinish() (in module _pytest.hookspec)
pytest_runtest_logreport() (in module _pytest.hookspec)
pytest_runtest_logstart() (in module _pytest.hookspec)
pytest_runtest_makereport() (in module _pytest.hookspec)
pytest_runtest_protocol() (in module _pytest.hookspec)
pytest_runtest_setup() (in module _pytest.hookspec)
pytest_runtest_teardown() (in module _pytest.hookspec)
pytest_runtestloop() (in module _pytest.hookspec)
pytest_sessionfinish() (in module _pytest.hookspec)
pytest_sessionstart() (in module _pytest.hookspec)
pytest_terminal_summary() (in module _pytest.hookspec)
pytest_unconfigure() (in module _pytest.hookspec)
pytest_warning_captured() (in module _pytest.hookspec)
pytest_warning_recorded() (in module _pytest.hookspec)
PytestAssertRewriteWarning (class in pytest)
PytestCacheWarning (class in pytest)
PytestCollectionWarning (class in pytest)
pytestconfig
fixture
pytestconfig() (in module _pytest.fixtures)
PytestConfigWarning (class in pytest)
PytestDeprecationWarning (class in pytest)
PytestExperimentalApiWarning (class in pytest)
PytestPluginManager (class in _pytest.config)
PytestUnhandledCoroutineWarning (class in pytest)
PytestUnknownMarkWarning (class in pytest)
PytestWarning (class in pytest)
Python Enhancement Proposals
PEP 302
python_classes
configuration value
python_files
configuration value
python_functions
configuration value
R
raiseerror() (FixtureRequest method)
raises() (in module pytest)
re_match_lines() (LineMatcher method)
re_match_lines_random() (LineMatcher method)
readouterr() (CaptureFixture method)
record_property
fixture
record_property() (in module _pytest.junitxml)
record_testsuite_property
fixture
record_testsuite_property() (in module _pytest.junitxml)
record_tuples (LogCaptureFixture property)
records (LogCaptureFixture property)
recwarn
fixture
recwarn() (in module _pytest.recwarn)
register() (PluginManager method)
(PytestPluginManager method)
register_assert_rewrite() (in module pytest)
repr_failure() (Collector method)
request
fixture
run() (Testdir method)
runitem() (Testdir method)
runpytest() (Testdir method)
runpytest_inprocess() (Testdir method)
runpytest_subprocess() (Testdir method)
runpython() (Testdir method)
runpython_c() (Testdir method)
RunResult (class in _pytest.pytester)
runtest() (Function method)
S
scope (FixtureRequest attribute)
sections (TestReport attribute)
Session (class in _pytest.main)
session (FixtureRequest property)
Session.Failed
Session.Interrupted
set() (Cache method)
set_blocked() (PluginManager method)
set_level() (LogCaptureFixture method)
setattr() (MonkeyPatch method)
setenv() (MonkeyPatch method)
setitem() (MonkeyPatch method)
skip() (in module _pytest.outcomes)
spawn() (Testdir method)
spawn_pytest() (Testdir method)
str() (LineMatcher method)
subset_hook_caller() (PluginManager method)
syspath_prepend() (MonkeyPatch method)
syspathinsert() (Testdir method)
T
tb (ExceptionInfo property)
testdir
fixture
Testdir (class in _pytest.pytester)
Testdir.TimeoutExpired
testpaths
configuration value
TestReport (class in _pytest.runner)
TESTS_FAILED (ExitCode attribute)
text (LogCaptureFixture property)
tmp_path
fixture
tmp_path() (in module _pytest.tmpdir)
tmp_path_factory
fixture
tmpdir
fixture
tmpdir (Testdir attribute)
tmpdir() (in module _pytest.tmpdir)
tmpdir_factory
fixture
traceback (ExceptionInfo property)
type (ExceptionInfo property)
typename (ExceptionInfo property)
U
undo() (MonkeyPatch method)
unregister() (PluginManager method)
USAGE_ERROR (ExitCode attribute)
UsageError (class in _pytest.config)
usefixtures
configuration value
user_properties (Item attribute)
(TestReport attribute)
V
value (ExceptionInfo property)
W
warn() (Node method)
WarningsRecorder (class in _pytest.recwarn)
warns() (in module pytest)
when (CallInfo attribute)
(TestReport attribute)
with_args() (MarkDecorator method)
X
xfail() (in module _pytest.outcomes)
xfail_strict
configuration value
Table Of Contents
Home
Install
Contents
API Reference
Examples
Customize
Changelog
Contributing
Backwards Compatibility
Python 2.7 and 3.4 Support
Sponsor
pytest for Enterprise
License
Contact Channels
Index
Related Topics
Documentation overview
Useful Links
pytest @ PyPI
pytest @ GitHub
3rd party plugins
Issue Tracker
PDF Documentation