Navigation
index
pytest-6.0
»
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)
args (Config.InvocationParams attribute)
(Mark attribute)
args() (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
fixture
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() (CollectReport property)
(in module _pytest.logging)
(TestReport property)
capstderr() (CollectReport property)
(TestReport property)
capstdout() (CollectReport property)
(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 (Metafunc attribute)
cls() (FixtureRequest property)
collect() (Class method)
(Collector method)
(Module method)
(Session method)
(Testdir.Session method)
collect_by_name() (Testdir method)
collect_ignore
global variable interpreted by pytest
collect_ignore_glob
global variable interpreted by pytest
Collector (class in _pytest.nodes)
Collector.CollectError
CollectReport (class in _pytest.reports)
combined_with() (Mark method)
confcutdir
configuration value
Config (class in _pytest.config)
config (Metafunc attribute)
config() (FixtureRequest property)
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
markers
minversion
norecursedirs
python_classes
python_files
python_functions
required_plugins
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() (CollectReport property)
(TestReport property)
D
delattr() (MonkeyPatch method)
delenv() (MonkeyPatch method)
delitem() (MonkeyPatch method)
deprecated_call() (in module pytest)
dir (Config.InvocationParams attribute)
disabled() (CaptureFixture method)
doctest_encoding
configuration value
doctest_namespace
fixture
doctest_namespace() (in module _pytest.doctest)
doctest_optionflags
configuration value
duration (RunResult attribute)
(TestReport attribute)
E
empty_parameter_set_mark
configuration value
enable_tracing() (PluginManager method)
environment variable
FORCE_COLOR
,
[1]
NO_COLOR
,
[1]
PY_COLORS
PYTEST_ADDOPTS
PYTEST_CURRENT_TEST
,
[1]
,
[2]
PYTEST_DEBUG
PYTEST_DISABLE_PLUGIN_AUTOLOAD
PYTEST_PLUGINS
errisinstance() (ExceptionInfo method)
errlines (RunResult attribute)
ExceptionInfo (class in _pytest._code)
exconly() (ExceptionInfo method)
exit() (in module pytest)
ExitCode (class in _pytest.config)
exitstatus (Testdir.Session attribute)
extra_keyword_matches (Node attribute)
F
fail() (in module pytest)
faulthandler_timeout
configuration value
File (class in _pytest.nodes)
fill_unfilled() (ExceptionInfo method)
filterwarnings
configuration value
finalize() (Testdir method)
fixture
cache
capfd
capfdbinary
caplog
capsys
capsysbinary
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 (Metafunc attribute)
fixturenames() (FixtureRequest property)
FixtureRequest (class in _pytest.fixtures)
fnmatch_lines() (LineMatcher method)
fnmatch_lines_random() (LineMatcher method)
for_later() (ExceptionInfo class method)
FORCE_COLOR
force_result() (_Result method)
freeze_includes() (in module pytest)
from_config() (Testdir.Session class method)
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 (Node attribute)
fspath() (FixtureRequest property)
funcargnames() (FixtureRequest property)
(Function property)
(Metafunc property)
Function (class in _pytest.python)
function (Metafunc attribute)
function() (FixtureRequest property)
(Function property)
G
genitems() (Testdir method)
(Testdir.Session 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)
gethookproxy() (Testdir.Session 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)
global variable interpreted by pytest
collect_ignore
collect_ignore_glob
pytest_plugins
pytestmark
H
handler() (LogCaptureFixture property)
has_plugin() (PluginManager method)
hasplugin() (PytestPluginManager method)
head_line() (CollectReport property)
(TestReport property)
I
ihook() (Node property)
import_plugin() (PytestPluginManager method)
importorskip() (in module pytest)
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)
isinitpath() (Testdir.Session 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 (Node attribute)
(TestReport attribute)
keywords() (FixtureRequest property)
kwargs (Mark attribute)
kwargs() (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
LogCaptureFixture (class in _pytest.logging)
longrepr (CollectReport attribute)
(TestReport attribute)
longreprtext() (CollectReport property)
(TestReport property)
M
main() (in module pytest)
make_hook_recorder() (Testdir method)
makeconftest() (Testdir method)
makedir() (Cache method)
makefile() (Testdir method)
makeini() (Testdir method)
makepyfile() (Testdir method)
makepyprojecttoml() (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)
matchnodes() (Testdir.Session method)
messages() (LogCaptureFixture property)
Metafunc (class in _pytest.python)
minversion
configuration value
mkdir() (Testdir method)
mkpydir() (Testdir method)
mktemp() (TempdirFactory method)
(TempPathFactory method)
Module (class in _pytest.python)
module (Metafunc attribute)
module() (FixtureRequest property)
monkeypatch
fixture
MonkeyPatch (class in _pytest.monkeypatch)
monkeypatch() (in module _pytest.monkeypatch)
N
name (Mark attribute)
(Node attribute)
name() (MarkDecorator property)
NO_COLOR
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 (CollectReport attribute)
(TestReport attribute)
nodeid() (Node property)
norecursedirs
configuration value
O
OK (ExitCode attribute)
option (Config attribute)
originalname (Function attribute)
outcome (CollectReport attribute)
(TestReport attribute)
outlines (RunResult 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)
parse_summary_nouns() (RunResult class method)
parseconfig() (Testdir method)
parseconfigure() (Testdir method)
parseoutcomes() (RunResult method)
Parser (class in _pytest.config.argparsing)
perform_collect() (Testdir.Session method)
PluginManager (class in pluggy)
pluginmanager (Config attribute)
plugins (Config.InvocationParams 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)
(Testdir.Session method)
pytest_collectstart() (in module _pytest.hookspec)
(Testdir.Session method)
pytest_configure() (in module _pytest.hookspec)
(PytestPluginManager method)
PYTEST_CURRENT_TEST
,
[1]
pytest_deselected() (in module _pytest.hookspec)
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_plugins
global variable interpreted by pytest
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)
(Testdir.Session method)
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)
pytestmark
global variable interpreted by 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)
(Function method)
(Node method)
request
fixture
required_plugins
configuration value
result (CollectReport attribute)
ret (RunResult attribute)
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 (CollectReport attribute)
(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)
spawn() (Testdir method)
spawn_pytest() (Testdir method)
stderr (RunResult attribute)
stdout (RunResult attribute)
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.Session (class in _pytest.pytester)
Testdir.Session.Failed
Testdir.Session.Interrupted
Testdir.TimeoutExpired
testpaths
configuration value
TestReport (class in _pytest.reports)
TESTS_FAILED (ExitCode attribute)
text() (LogCaptureFixture property)
tmp_path
fixture
tmp_path() (in module _pytest.tmpdir)
tmp_path_factory
fixture
tmpdir
fixture
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 (TestReport attribute)
with_args() (MarkDecorator method)
X
xfail() (in module pytest)
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