Navigation
index
modules
|
pytest-6.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
_
__str__() (LineMatcher method)
_pytest.tmpdir.tmp_path_factory
fixture
A
add_cleanup() (Config method)
add_hookcall_monitoring() (PytestPluginManager method)
add_hookspecs() (PytestPluginManager 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 (class in pytest)
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)
chdir() (MonkeyPatch method)
(Pytester method)
(Testdir method)
check_pending() (PytestPluginManager method)
Class (class in pytest)
clear() (LogCaptureFixture method)
(WarningsRecorder method)
CLOSE_STDIN (Pytester attribute)
(Testdir attribute)
cls (Metafunc attribute)
cls() (FixtureRequest property)
collect() (Class method)
(Collector method)
(Module method)
(Pytester.Session method)
(Session method)
(Testdir.Session method)
collect_by_name() (Pytester method)
(Testdir method)
collect_ignore
global variable interpreted by pytest
collect_ignore_glob
global variable interpreted by pytest
Collector (class in pytest)
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 class method)
copy_example() (Pytester method)
(Testdir method)
count_towards_summary() (CollectReport property)
(TestReport property)
D
definition (Metafunc attribute)
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() (PytestPluginManager 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
,
[1]
errisinstance() (ExceptionInfo method)
errlines (RunResult attribute)
ExceptionInfo (class in _pytest._code)
exconly() (ExceptionInfo method)
exit() (in module pytest)
ExitCode (class in pytest)
extra_keyword_matches (Node attribute)
F
fail() (in module pytest)
faulthandler_timeout
configuration value
File (class in pytest)
fill_unfilled() (ExceptionInfo method)
filterwarnings
configuration value
finalize() (Testdir method)
fixture
_pytest.tmpdir.tmp_path_factory
cache
capfd
capfdbinary
caplog
capsys
capsysbinary
doctest_namespace
monkeypatch
pytestconfig
pytester
record_property
record_testsuite_property
recwarn
request
testdir
tmp_path
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)
fnmatch_lines() (LineMatcher method)
fnmatch_lines_random() (LineMatcher method)
for_later() (ExceptionInfo class method)
FORCE_COLOR
freeze_includes() (in module pytest)
from_config() (Pytester.Session class method)
(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)
Function (class in pytest)
function (Metafunc attribute)
function() (FixtureRequest property)
(Function property)
FunctionDefinition (class in _pytest.python)
G
genitems() (Pytester method)
(Pytester.Session method)
(Testdir method)
(Testdir.Session method)
get() (Cache method)
get_canonical_name() (PytestPluginManager method)
get_closest_marker() (Node method)
get_hookcallers() (PytestPluginManager method)
get_lines_after() (LineMatcher method)
get_name() (PytestPluginManager method)
get_plugin() (PytestPluginManager method)
get_plugins() (PytestPluginManager method)
get_records() (LogCaptureFixture method)
getfixturevalue() (FixtureRequest method)
getgroup() (Parser method)
gethookproxy() (Pytester.Session method)
(Testdir.Session method)
getini() (Config method)
getinicfg() (Pytester method)
(Testdir method)
getitem() (Pytester method)
(Testdir method)
getitems() (Pytester method)
(Testdir method)
getmodulecol() (Pytester method)
(Testdir method)
getnode() (Pytester method)
(Testdir method)
getoption() (Config method)
getparent() (Node method)
getpathnode() (Pytester method)
(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() (PytestPluginManager method)
hasplugin() (PytestPluginManager method)
head_line() (CollectReport property)
(TestReport property)
HookRecorder (class in _pytest.pytester)
I
ihook() (Node property)
import_plugin() (PytestPluginManager method)
importorskip() (in module pytest)
inifile() (Config property)
inipath() (Config property)
inline_genitems() (Pytester method)
(Testdir method)
inline_run() (Pytester method)
(Testdir method)
inline_runsource() (Pytester method)
(Testdir method)
instance() (FixtureRequest property)
INTERNAL_ERROR (ExitCode attribute)
INTERRUPTED (ExitCode attribute)
invocation_dir() (Config property)
invocation_params (Config attribute)
is_blocked() (PytestPluginManager method)
is_registered() (PytestPluginManager method)
isinitpath() (Pytester.Session method)
(Testdir.Session method)
issue_config_time_warning() (Config method)
Item (class in pytest)
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() (PytestPluginManager method)
list_plugin_distinfo() (PytestPluginManager method)
listchain() (Node method)
listextrakeywords() (Node method)
load_setuptools_entrypoints() (PytestPluginManager 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)
longrepr (CollectReport attribute)
(TestReport attribute)
longreprtext() (CollectReport property)
(TestReport property)
M
main() (in module pytest)
make_hook_recorder() (Pytester method)
(Testdir method)
makeconftest() (Pytester method)
(Testdir method)
makedir() (Cache method)
makefile() (Pytester method)
(Testdir method)
makeini() (Pytester method)
(Testdir method)
makepyfile() (Pytester method)
(Testdir method)
makepyprojecttoml() (Pytester method)
(Testdir method)
maketxtfile() (Pytester method)
(Testdir method)
Mark (class in _pytest.mark.structures)
MarkDecorator (class in _pytest.mark)
markers
configuration value
MarkGenerator (class in _pytest.mark)
match() (ExceptionInfo method)
matchreport() (HookRecorder method)
messages() (LogCaptureFixture property)
Metafunc (class in _pytest.python)
minversion
configuration value
mkdir() (Pytester method)
(Testdir method)
mkpydir() (Pytester method)
(Testdir method)
module
pytest
Module (class in pytest)
module (Metafunc attribute)
module() (FixtureRequest property)
monkeypatch
fixture
MonkeyPatch (class in pytest)
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() (Pytester method)
(Testdir method)
parseconfigure() (Pytester method)
(Testdir method)
parseoutcomes() (RunResult method)
Parser (class in _pytest.config.argparsing)
path() (Pytester property)
perform_collect() (Pytester.Session method)
(Session method)
(Testdir.Session method)
pluginmanager (Config attribute)
plugins (Config.InvocationParams attribute)
pop() (WarningsRecorder method)
popen() (Pytester method)
(Testdir method)
pytest
module
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_file() (in module _pytest.hookspec)
pytest_collection() (Config method)
(in module _pytest.hookspec)
pytest_collection_finish() (in module _pytest.hookspec)
pytest_collection_modifyitems() (in module _pytest.hookspec)
pytest_collectreport() (in module _pytest.hookspec)
(Pytester.Session method)
(Testdir.Session method)
pytest_collectstart() (in module _pytest.hookspec)
(Pytester.Session method)
(Testdir.Session method)
pytest_configure() (in module _pytest.hookspec)
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
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)
(Pytester.Session method)
(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)
pytester
fixture
Pytester (class in pytest)
Pytester.Session (class in pytest)
Pytester.Session.Failed
Pytester.Session.Interrupted
Pytester.TimeoutExpired
PytestExperimentalApiWarning (class in pytest)
pytestmark
global variable interpreted by pytest
PytestPluginManager (class in _pytest.config)
PytestUnhandledCoroutineWarning (class in pytest)
PytestUnhandledThreadExceptionWarning (class in pytest)
PytestUnknownMarkWarning (class in pytest)
PytestUnraisableExceptionWarning (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() (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)
rootdir() (Config property)
rootpath() (Config property)
run() (Pytester method)
(Testdir method)
runitem() (Pytester method)
(Testdir method)
runpytest() (Pytester method)
(Testdir method)
runpytest_inprocess() (Pytester method)
(Testdir method)
runpytest_subprocess() (Pytester method)
(Testdir method)
runpython() (Pytester method)
(Testdir method)
runpython_c() (Pytester method)
(Testdir method)
RunResult (class in _pytest.pytester)
runtest() (Function method)
(FunctionDefinition method)
S
scope (FixtureRequest attribute)
sections (TestReport attribute)
Session (class in pytest)
session() (FixtureRequest property)
Session.Failed
Session.Interrupted
set() (Cache method)
set_blocked() (PytestPluginManager method)
set_level() (LogCaptureFixture method)
setattr() (MonkeyPatch method)
setenv() (MonkeyPatch method)
setitem() (MonkeyPatch method)
setup() (FunctionDefinition method)
skip() (in module pytest)
spawn() (Pytester method)
(Testdir method)
spawn_pytest() (Pytester method)
(Testdir method)
stderr (RunResult attribute)
stdout (RunResult attribute)
str() (LineMatcher method)
subset_hook_caller() (PytestPluginManager method)
syspath_prepend() (MonkeyPatch method)
syspathinsert() (Pytester method)
(Testdir method)
T
tb() (ExceptionInfo property)
TempdirFactory (class in pytest)
TempPathFactory (class in pytest)
testdir
fixture
Testdir (class in pytest)
Testdir.Session (class in pytest)
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)
tmpdir
fixture
tmpdir() (in module _pytest.tmpdir)
(Testdir property)
tmpdir_factory
fixture
traceback() (ExceptionInfo property)
type() (ExceptionInfo property)
typename() (ExceptionInfo property)
U
undo() (MonkeyPatch method)
unregister() (PytestPluginManager method)
USAGE_ERROR (ExitCode attribute)
UsageError (class in pytest)
usefixtures
configuration value
user_properties (Item attribute)
(TestReport attribute)
V
value() (ExceptionInfo property)
W
warn() (Node method)
WarningsRecorder (class in pytest)
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