导航
索引
模块
|
pytest-7.1
»
索引
索引
_
|
A
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
|
X
|
內
|
模
|
环
_
__contains__() (Stash 方法)
__delitem__() (Stash 方法)
__getitem__() (Stash 方法)
__len__() (Stash 方法)
__setitem__() (Stash 方法)
__str__() (LineMatcher 方法)
A
add_cleanup() (Config 方法)
add_hookcall_monitoring() (PytestPluginManager 方法)
add_hookspecs() (PytestPluginManager 方法)
add_marker() (Node 方法)
add_report_section() (Item 方法)
addfinalizer() (FixtureRequest 方法)
(Node 方法)
addini() (Parser 方法)
addinivalue_line() (Config 方法)
addoption() (OptionGroup 方法)
(Parser 方法)
addopts
configuration value
applymarker() (FixtureRequest 方法)
approx() (在 pytest 模块中)
args (Config.InvocationParams 属性)
(Mark 属性)
args() (MarkDecorator property)
assert_outcomes() (RunResult 方法)
at_level() (LogCaptureFixture 方法)
C
cache
fixture
Cache (pytest 中的类)
cache_dir
configuration value
CallInfo (pytest 中的类)
capfd
fixture
capfd() (在 _pytest.capture 模块中)
capfdbinary
fixture
capfdbinary() (在 _pytest.capture 模块中)
caplog
fixture
caplog() (CollectReport property)
(TestReport property)
(在 _pytest.logging 模块中)
capstderr() (CollectReport property)
(TestReport property)
capstdout() (CollectReport property)
(TestReport property)
capsys
fixture
capsys() (在 _pytest.capture 模块中)
capsysbinary
fixture
capsysbinary() (在 _pytest.capture 模块中)
CaptureFixture (pytest 中的类)
chdir() (MonkeyPatch 方法)
(Pytester 方法)
(Testdir 方法)
check_pending() (PytestPluginManager 方法)
Class (pytest 中的类)
clear() (LogCaptureFixture 方法)
(WarningsRecorder 方法)
cls (Metafunc 属性)
cls() (FixtureRequest property)
collect() (Class 方法)
(Collector 方法)
(Module 方法)
(Session 方法)
collect_by_name() (Pytester 方法)
(Testdir 方法)
collect_ignore
global variable interpreted by pytest
collect_ignore_glob
global variable interpreted by pytest
Collector (pytest 中的类)
Collector.CollectError
CollectReport (pytest 中的类)
combined_with() (Mark 方法)
config (Metafunc 属性)
(Node 属性)
Config (pytest 中的类)
config() (FixtureRequest property)
Config.InvocationParams (pytest 中的类)
configuration value
addopts
cache_dir
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
pythonpath
required_plugins
testpaths
usefixtures
xfail_strict
console_output_style
configuration value
context() (MonkeyPatch 类方法)
copy_example() (Pytester 方法)
(Testdir 方法)
count_towards_summary() (CollectReport property)
(TestReport property)
D
definition (Metafunc 属性)
delattr() (MonkeyPatch 方法)
delenv() (MonkeyPatch 方法)
delitem() (MonkeyPatch 方法)
deprecated_call() (在 pytest 模块中)
dir (Config.InvocationParams 属性)
disabled() (CaptureFixture 方法)
doctest_encoding
configuration value
doctest_namespace
fixture
doctest_namespace() (在 _pytest.doctest 模块中)
doctest_optionflags
configuration value
duration (CallInfo 属性)
(RunResult 属性)
(TestReport 属性)
E
empty_parameter_set_mark
configuration value
enable_tracing() (PytestPluginManager 方法)
errisinstance() (ExceptionInfo 方法)
errlines (RunResult 属性)
ExceptionInfo (pytest 中的类)
excinfo (CallInfo 属性)
exconly() (ExceptionInfo 方法)
exit() (在 pytest 模块中)
ExitCode (pytest 中的类)
extra_keyword_matches (Node 属性)
F
fail() (在 pytest 模块中)
failed() (CollectReport property)
(TestReport property)
faulthandler_timeout
configuration value
File (pytest 中的类)
fill_unfilled() (ExceptionInfo 方法)
filterwarnings
configuration value
finalize() (Testdir 方法)
fixture
cache
capfd
capfdbinary
caplog
capsys
capsysbinary
doctest_namespace
monkeypatch
pytestconfig
pytester
record_property
record_testsuite_property
recwarn
request
testdir
tmp_path
tmp_path_factory
tmpdir
tmpdir_factory
fixture() (在 pytest 模块中)
FixtureDef (_pytest.fixtures 中的类)
fixturename (FixtureRequest 属性)
fixturenames (Metafunc 属性)
fixturenames() (FixtureRequest property)
FixtureRequest (pytest 中的类)
fnmatch_lines() (LineMatcher 方法)
fnmatch_lines_random() (LineMatcher 方法)
for_later() (ExceptionInfo 类方法)
FORCE_COLOR
freeze_includes() (在 pytest 模块中)
from_call() (CallInfo 类方法)
from_current() (ExceptionInfo 类方法)
from_exc_info() (ExceptionInfo 类方法)
from_item_and_call() (TestReport 类方法)
from_parent() (Class 类方法)
(FSCollector 类方法)
(Function 类方法)
(Node 类方法)
fromdictargs() (Config 类方法)
FSCollector (_pytest.nodes 中的类)
fspath (Node 属性)
fspath() (CollectReport property)
(TestReport property)
function (Metafunc 属性)
Function (pytest 中的类)
function() (FixtureRequest property)
(Function property)
FunctionDefinition (_pytest.python 中的类)
G
genitems() (Pytester 方法)
(Testdir 方法)
get() (Cache 方法)
(Stash 方法)
get_canonical_name() (PytestPluginManager 方法)
get_closest_marker() (Node 方法)
get_hookcallers() (PytestPluginManager 方法)
get_lines_after() (LineMatcher 方法)
get_name() (PytestPluginManager 方法)
get_plugin() (PytestPluginManager 方法)
get_plugins() (PytestPluginManager 方法)
get_records() (LogCaptureFixture 方法)
getbasetemp() (TempdirFactory 方法)
(TempPathFactory 方法)
getcalls() (HookRecorder 方法)
getfixturevalue() (FixtureRequest 方法)
getgroup() (Parser 方法)
getini() (Config 方法)
getinicfg() (Pytester 方法)
(Testdir 方法)
getitem() (Pytester 方法)
(Testdir 方法)
getitems() (Pytester 方法)
(Testdir 方法)
getmodulecol() (Pytester 方法)
(Testdir 方法)
getnode() (Pytester 方法)
(Testdir 方法)
getoption() (Config 方法)
getparent() (Node 方法)
getpathnode() (Pytester 方法)
(Testdir 方法)
getplugin() (PytestPluginManager 方法)
getrepr() (ExceptionInfo 方法)
getvalue() (Config 方法)
getvalueorskip() (Config 方法)
global variable interpreted by pytest
collect_ignore
collect_ignore_glob
pytest_plugins
pytestmark
H
handler() (LogCaptureFixture property)
has_plugin() (PytestPluginManager 方法)
hasplugin() (PytestPluginManager 方法)
head_line() (CollectReport property)
(TestReport property)
hook
pytest_addhooks
pytest_addoption
pytest_assertion_pass
pytest_assertrepr_compare
pytest_cmdline_main
pytest_cmdline_parse
pytest_cmdline_preparse
pytest_collect_file
pytest_collection
pytest_collection_modifyitems
pytest_collectreport
pytest_collectstart
pytest_configure
pytest_deselected
pytest_enter_pdb
pytest_exception_interact
pytest_fixture_post_finalizer
pytest_fixture_setup
pytest_generate_tests
pytest_ignore_collect
pytest_internalerror
pytest_itemcollected
pytest_keyboard_interrupt
pytest_leave_pdb
pytest_load_initial_conftests
pytest_make_collect_report
pytest_make_parametrize_id
pytest_markeval_namespace
pytest_plugin_registered
pytest_pycollect_makeitem
pytest_pycollect_makemodule
pytest_pyfunc_call
pytest_report_collectionfinish
pytest_report_from_serializable
pytest_report_header
pytest_report_teststatus
pytest_report_to_serializable
pytest_runtest_call
pytest_runtest_logfinish
pytest_runtest_logreport
pytest_runtest_logstart
pytest_runtest_makereport
pytest_runtest_protocol
pytest_runtest_setup
pytest_runtest_teardown
pytest_runtestloop
pytest_sessionfinish
pytest_sessionstart
pytest_terminal_summary
pytest_unconfigure
pytest_warning_recorded
HookRecorder (pytest 中的类)
I
ihook() (Node property)
import_plugin() (PytestPluginManager 方法)
importorskip() (在 pytest 模块中)
inipath() (Config property)
inline_genitems() (Pytester 方法)
(Testdir 方法)
inline_run() (Pytester 方法)
(Testdir 方法)
inline_runsource() (Pytester 方法)
(Testdir 方法)
instance() (FixtureRequest property)
INTERNAL_ERROR (ExitCode 属性)
INTERRUPTED (ExitCode 属性)
invocation_params (Config 属性)
is_blocked() (PytestPluginManager 方法)
is_registered() (PytestPluginManager 方法)
issue_config_time_warning() (Config 方法)
Item (pytest 中的类)
iter_markers() (Node 方法)
iter_markers_with_node() (Node 方法)
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 属性)
(TestReport 属性)
keywords() (FixtureRequest property)
kwargs (Mark 属性)
kwargs() (MarkDecorator property)
L
LineMatcher (pytest 中的类)
list() (WarningsRecorder property)
list_name_plugin() (PytestPluginManager 方法)
list_plugin_distinfo() (PytestPluginManager 方法)
listchain() (Node 方法)
listextrakeywords() (Node 方法)
load_setuptools_entrypoints() (PytestPluginManager 方法)
location (TestReport 属性)
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 (pytest 中的类)
longrepr (CollectReport 属性)
(TestReport 属性)
longreprtext() (CollectReport property)
(TestReport property)
M
main() (在 pytest 模块中)
make_hook_recorder() (Pytester 方法)
(Testdir 方法)
makeconftest() (Pytester 方法)
(Testdir 方法)
makefile() (Pytester 方法)
(Testdir 方法)
makeini() (Pytester 方法)
(Testdir 方法)
makepyfile() (Pytester 方法)
(Testdir 方法)
makepyprojecttoml() (Pytester 方法)
(Testdir 方法)
maketxtfile() (Pytester 方法)
(Testdir 方法)
Mark (pytest 中的类)
MarkDecorator (pytest 中的类)
markers
configuration value
MarkGenerator (pytest 中的类)
match() (ExceptionInfo 方法)
matchreport() (HookRecorder 方法)
messages() (LogCaptureFixture property)
Metafunc (pytest 中的类)
minversion
configuration value
mkdir() (Cache 方法)
(Pytester 方法)
(Testdir 方法)
mkpydir() (Pytester 方法)
(Testdir 方法)
mktemp() (TempdirFactory 方法)
(TempPathFactory 方法)
module (Metafunc 属性)
Module (pytest 中的类)
module() (FixtureRequest property)
monkeypatch
fixture
MonkeyPatch (pytest 中的类)
monkeypatch() (在 _pytest.monkeypatch 模块中)
N
name (Mark 属性)
(Node 属性)
name() (MarkDecorator property)
NO_COLOR
no_fnmatch_line() (LineMatcher 方法)
no_re_match_line() (LineMatcher 方法)
NO_TESTS_COLLECTED (ExitCode 属性)
Node (_pytest.nodes 中的类)
node() (FixtureRequest property)
nodeid (CollectReport 属性)
(TestReport 属性)
nodeid() (Node property)
norecursedirs
configuration value
O
OK (ExitCode 属性)
option (Config 属性)
OptionGroup (pytest 中的类)
originalname (Function 属性)
outcome (CollectReport 属性)
(TestReport 属性)
outlines (RunResult 属性)
own_markers (Node 属性)
P
param() (在 pytest 模块中)
parametrize() (Metafunc 方法)
parent (Node 属性)
parse_hookimpl_opts() (PytestPluginManager 方法)
parse_hookspec_opts() (PytestPluginManager 方法)
parse_known_and_unknown_args() (Parser 方法)
parse_known_args() (Parser 方法)
parse_summary_nouns() (RunResult 类方法)
parseconfig() (Pytester 方法)
(Testdir 方法)
parseconfigure() (Pytester 方法)
(Testdir 方法)
parseoutcomes() (RunResult 方法)
Parser (pytest 中的类)
passed() (CollectReport property)
(TestReport property)
path (Node 属性)
path() (Pytester property)
perform_collect() (Session 方法)
pluginmanager (Config 属性)
plugins (Config.InvocationParams 属性)
pop() (WarningsRecorder 方法)
popen() (Pytester 方法)
(Testdir 方法)
pytest
模块
pytest.mark.filterwarnings()
內置函数
pytest.mark.skip()
內置函数
pytest.mark.skipif()
內置函数
pytest.mark.usefixtures()
內置函数
pytest.mark.xfail()
內置函数
pytest_addhooks
hook
pytest_addhooks() (在 _pytest.hookspec 模块中)
pytest_addoption
hook
pytest_addoption() (在 _pytest.hookspec 模块中)
pytest_assertion_pass
hook
pytest_assertion_pass() (在 _pytest.hookspec 模块中)
pytest_assertrepr_compare
hook
pytest_assertrepr_compare() (在 _pytest.hookspec 模块中)
pytest_cmdline_main
hook
pytest_cmdline_main() (在 _pytest.hookspec 模块中)
pytest_cmdline_parse
hook
pytest_cmdline_parse() (在 _pytest.hookspec 模块中)
pytest_cmdline_preparse
hook
pytest_cmdline_preparse() (在 _pytest.hookspec 模块中)
pytest_collect_file
hook
pytest_collect_file() (在 _pytest.hookspec 模块中)
pytest_collection
hook
pytest_collection() (在 _pytest.hookspec 模块中)
pytest_collection_finish() (在 _pytest.hookspec 模块中)
pytest_collection_modifyitems
hook
pytest_collection_modifyitems() (在 _pytest.hookspec 模块中)
pytest_collectreport
hook
pytest_collectreport() (在 _pytest.hookspec 模块中)
pytest_collectstart
hook
pytest_collectstart() (在 _pytest.hookspec 模块中)
pytest_configure
hook
pytest_configure() (在 _pytest.hookspec 模块中)
PYTEST_CURRENT_TEST
,
[1]
pytest_deselected
hook
pytest_deselected() (在 _pytest.hookspec 模块中)
pytest_enter_pdb
hook
pytest_enter_pdb() (在 _pytest.hookspec 模块中)
pytest_exception_interact
hook
pytest_exception_interact() (在 _pytest.hookspec 模块中)
pytest_fixture_post_finalizer
hook
pytest_fixture_post_finalizer() (在 _pytest.hookspec 模块中)
pytest_fixture_setup
hook
pytest_fixture_setup() (在 _pytest.hookspec 模块中)
pytest_generate_tests
hook
pytest_generate_tests() (在 _pytest.hookspec 模块中)
pytest_ignore_collect
hook
pytest_ignore_collect() (在 _pytest.hookspec 模块中)
pytest_internalerror
hook
pytest_internalerror() (在 _pytest.hookspec 模块中)
pytest_itemcollected
hook
pytest_itemcollected() (在 _pytest.hookspec 模块中)
pytest_keyboard_interrupt
hook
pytest_keyboard_interrupt() (在 _pytest.hookspec 模块中)
pytest_leave_pdb
hook
pytest_leave_pdb() (在 _pytest.hookspec 模块中)
pytest_load_initial_conftests
hook
pytest_load_initial_conftests() (在 _pytest.hookspec 模块中)
pytest_make_collect_report
hook
pytest_make_collect_report() (在 _pytest.hookspec 模块中)
pytest_make_parametrize_id
hook
pytest_make_parametrize_id() (在 _pytest.hookspec 模块中)
pytest_markeval_namespace
hook
pytest_markeval_namespace() (在 _pytest.hookspec 模块中)
pytest_plugin_registered
hook
pytest_plugin_registered() (在 _pytest.hookspec 模块中)
PYTEST_PLUGINS
pytest_plugins
global variable interpreted by pytest
pytest_pycollect_makeitem
hook
pytest_pycollect_makeitem() (在 _pytest.hookspec 模块中)
pytest_pycollect_makemodule
hook
pytest_pycollect_makemodule() (在 _pytest.hookspec 模块中)
pytest_pyfunc_call
hook
pytest_pyfunc_call() (在 _pytest.hookspec 模块中)
pytest_report_collectionfinish
hook
pytest_report_collectionfinish() (在 _pytest.hookspec 模块中)
pytest_report_from_serializable
hook
pytest_report_from_serializable() (在 _pytest.hookspec 模块中)
pytest_report_header
hook
pytest_report_header() (在 _pytest.hookspec 模块中)
pytest_report_teststatus
hook
pytest_report_teststatus() (在 _pytest.hookspec 模块中)
pytest_report_to_serializable
hook
pytest_report_to_serializable() (在 _pytest.hookspec 模块中)
pytest_runtest_call
hook
pytest_runtest_call() (在 _pytest.hookspec 模块中)
pytest_runtest_logfinish
hook
pytest_runtest_logfinish() (在 _pytest.hookspec 模块中)
pytest_runtest_logreport
hook
pytest_runtest_logreport() (在 _pytest.hookspec 模块中)
pytest_runtest_logstart
hook
pytest_runtest_logstart() (在 _pytest.hookspec 模块中)
pytest_runtest_makereport
hook
pytest_runtest_makereport() (在 _pytest.hookspec 模块中)
pytest_runtest_protocol
hook
pytest_runtest_protocol() (在 _pytest.hookspec 模块中)
pytest_runtest_setup
hook
pytest_runtest_setup() (在 _pytest.hookspec 模块中)
pytest_runtest_teardown
hook
pytest_runtest_teardown() (在 _pytest.hookspec 模块中)
pytest_runtestloop
hook
pytest_runtestloop() (在 _pytest.hookspec 模块中)
pytest_sessionfinish
hook
pytest_sessionfinish() (在 _pytest.hookspec 模块中)
pytest_sessionstart
hook
pytest_sessionstart() (在 _pytest.hookspec 模块中)
pytest_terminal_summary
hook
pytest_terminal_summary() (在 _pytest.hookspec 模块中)
PYTEST_THEME
,
[1]
,
[2]
PYTEST_THEME_MODE
,
[1]
pytest_unconfigure
hook
pytest_unconfigure() (在 _pytest.hookspec 模块中)
pytest_warning_recorded
hook
pytest_warning_recorded() (在 _pytest.hookspec 模块中)
PytestAssertRewriteWarning (pytest 中的类)
PytestCacheWarning (pytest 中的类)
PytestCollectionWarning (pytest 中的类)
pytestconfig
fixture
pytestconfig() (在 _pytest.fixtures 模块中)
PytestConfigWarning (pytest 中的类)
PytestDeprecationWarning (pytest 中的类)
pytester
fixture
Pytester (pytest 中的类)
Pytester.TimeoutExpired
PytestExperimentalApiWarning (pytest 中的类)
pytestmark
global variable interpreted by pytest
PytestPluginManager (pytest 中的类)
PytestUnhandledCoroutineWarning (pytest 中的类)
PytestUnhandledThreadExceptionWarning (pytest 中的类)
PytestUnknownMarkWarning (pytest 中的类)
PytestUnraisableExceptionWarning (pytest 中的类)
PytestWarning (pytest 中的类)
Python 提高建议
PEP 0373#maintenance-releases
PEP 0429#release-schedule
PEP 235
PEP 302
,
[1]
,
[2]
PEP 415
PEP 420
PEP 479
PEP 506
PEP 506#recommended-filter-settings-for-test-runners
PEP 552
PEP 565
python:PYTHONWARNINGS
python_classes
configuration value
python_files
configuration value
python_functions
configuration value
PYTHONPATH
pythonpath
configuration value
R
raiseerror() (FixtureRequest 方法)
raises() (在 pytest 模块中)
re_match_lines() (LineMatcher 方法)
re_match_lines_random() (LineMatcher 方法)
readouterr() (CaptureFixture 方法)
record_property
fixture
record_property() (在 _pytest.junitxml 模块中)
record_testsuite_property
fixture
record_testsuite_property() (在 _pytest.junitxml 模块中)
record_tuples() (LogCaptureFixture property)
RecordedHookCall (pytest 中的类)
records() (LogCaptureFixture property)
recwarn
fixture
recwarn() (在 _pytest.recwarn 模块中)
register() (PytestPluginManager 方法)
register_assert_rewrite() (在 pytest 模块中)
reportinfo() (Item 方法)
repr_failure() (Collector 方法)
(Function 方法)
(Node 方法)
request
fixture
required_plugins
configuration value
result (CollectReport 属性)
result() (CallInfo property)
ret (RunResult 属性)
rootpath() (Config property)
run() (Pytester 方法)
(Testdir 方法)
runitem() (Pytester 方法)
(Testdir 方法)
runpytest() (Pytester 方法)
(Testdir 方法)
runpytest_inprocess() (Pytester 方法)
(Testdir 方法)
runpytest_subprocess() (Pytester 方法)
(Testdir 方法)
runpython() (Pytester 方法)
(Testdir 方法)
runpython_c() (Pytester 方法)
(Testdir 方法)
RunResult (pytest 中的类)
runtest() (Function 方法)
(FunctionDefinition 方法)
(Item 方法)
S
scope() (FixtureDef property)
(FixtureRequest property)
sections (CollectReport 属性)
(TestReport 属性)
session (Node 属性)
Session (pytest 中的类)
session() (FixtureRequest property)
Session.Failed
Session.Interrupted
set() (Cache 方法)
set_blocked() (PytestPluginManager 方法)
set_level() (LogCaptureFixture 方法)
setattr() (MonkeyPatch 方法)
setdefault() (Stash 方法)
setenv() (MonkeyPatch 方法)
setitem() (MonkeyPatch 方法)
setup() (FunctionDefinition 方法)
skip() (在 pytest 模块中)
skipped() (CollectReport property)
(TestReport property)
spawn() (Pytester 方法)
(Testdir 方法)
spawn_pytest() (Pytester 方法)
(Testdir 方法)
start (CallInfo 属性)
startpath() (Session property)
stash (Config 属性)
(Node 属性)
Stash (pytest 中的类)
StashKey (pytest 中的类)
stderr (RunResult 属性)
stdout (RunResult 属性)
stop (CallInfo 属性)
str() (LineMatcher 方法)
subset_hook_caller() (PytestPluginManager 方法)
syspath_prepend() (MonkeyPatch 方法)
syspathinsert() (Pytester 方法)
(Testdir 方法)
T
tb() (ExceptionInfo property)
TempdirFactory (pytest 中的类)
TempPathFactory (pytest 中的类)
testdir
fixture
Testdir (pytest 中的类)
Testdir.TimeoutExpired
testpaths
configuration value
TestReport (pytest 中的类)
TESTS_FAILED (ExitCode 属性)
text() (LogCaptureFixture property)
tmp_path
fixture
tmp_path() (在 _pytest.tmpdir 模块中)
tmp_path_factory
fixture
tmpdir
fixture
tmpdir() (Testdir property)
(在 _pytest.legacypath.LegacyTmpdirPlugin 模块中)
tmpdir_factory
fixture
traceback() (ExceptionInfo property)
type() (ExceptionInfo property)
typename() (ExceptionInfo property)
U
undo() (MonkeyPatch 方法)
unregister() (PytestPluginManager 方法)
USAGE_ERROR (ExitCode 属性)
UsageError (pytest 中的类)
usefixtures
configuration value
user_properties (Item 属性)
(TestReport 属性)
V
value() (ExceptionInfo property)
W
warn() (Node 方法)
WarningsRecorder (pytest 中的类)
warns() (在 pytest 模块中)
when (CallInfo 属性)
(TestReport 属性)
with_args() (MarkDecorator 方法)
X
xfail() (在 pytest 模块中)
xfail_strict
configuration value
內
內置函数
pytest.mark.filterwarnings()
pytest.mark.skip()
pytest.mark.skipif()
pytest.mark.usefixtures()
pytest.mark.xfail()
模
模块
pytest
环
环境变量
FORCE_COLOR
,
[1]
NO_COLOR
,
[1]
PY_COLORS
PYTEST_ADDOPTS
PYTEST_CURRENT_TEST
,
[1]
,
[2]
PYTEST_DEBUG
PYTEST_DISABLE_PLUGIN_AUTOLOAD
PYTEST_PLUGINS
,
[1]
PYTEST_THEME
,
[1]
,
[2]
,
[3]
PYTEST_THEME_MODE
,
[1]
,
[2]
python:PYTHONWARNINGS
PYTHONPATH
Contents
Home
Get started
How-to guides
Reference guides
Explanation
Complete table of contents
Library of examples
About the project
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
Issue Tracker
PDF Documentation