MCPcopy Create free account

hub / github.com/pytest-dev/pytest / functions

Functions4,602 in github.com/pytest-dev/pytest

Functionresult
(*args, **kwargs)
src/_pytest/fixtures.py:1172
Methodresult
The return value of the call, if it didn't raise. Can only be accessed if excinfo is None.
src/_pytest/runner.py:305
Methodresume
(self)
src/_pytest/capture.py:296
Methodrlf
(fail_import, fail_run)
testing/test_cacheprovider.py:509
Methodrootpath
The path to the :ref:`rootdir <rootdir>`. :type: pathlib.Path .. versionadded:: 6.1
src/_pytest/config/__init__.py:963
Methodround_trip
(obj)
testing/test_pathlib.py:539
Methodrun
See :meth:`Pytester.run`.
src/_pytest/legacypath.py:224
Methodrunitem
See :meth:`Pytester.runitem`.
src/_pytest/legacypath.py:159
Methodrunpytest
See :meth:`Pytester.runpytest`.
src/_pytest/legacypath.py:181
Methodrunpytest_inprocess
See :meth:`Pytester.runpytest_inprocess`.
src/_pytest/legacypath.py:177
Methodrunpytest_subprocess
See :meth:`Pytester.runpytest_subprocess`.
src/_pytest/legacypath.py:236
Methodrunpython
See :meth:`Pytester.runpython`.
src/_pytest/legacypath.py:228
Methodrunpython_c
See :meth:`Pytester.runpython_c`.
src/_pytest/legacypath.py:232
Methodruntest
(self)
src/_pytest/doctest.py:286
Methodruntest
Execute the underlying test function.
src/_pytest/python.py:1716
Methodruntest
(self)
src/_pytest/python.py:1761
Methodruntest
(self)
src/_pytest/unittest.py:292
Methodruntest
(self)
doc/en/example/nonpython/conftest.py:25
Methodruntest
(self)
testing/test_runner.py:888
Methodruntest
(self)
testing/example_scripts/fixtures/custom_item/conftest.py:5
Functionschema
Return an xmlschema.XMLSchema object for the junit-10.xsd file.
testing/test_junitxml.py:28
Methodscope
Scope string, one of "function", "class", "module", "package", "session".
src/_pytest/fixtures.py:454
Methodscope
Scope string, one of "function", "class", "module", "package", "session".
src/_pytest/fixtures.py:1010
Methodsection
(self, *args, **kwargs)
testing/logging/test_reporting.py:848
Functionsess
(order)
doc/en/example/fixtures/test_fixtures_order_scope.py:30
Methodsession
Pytest session object.
src/_pytest/fixtures.py:543
Methodsession_request
(self, request)
testing/test_legacypath.py:100
Methodsession_request
(self, request)
testing/python/fixtures.py:1097
MethodsetUp
(self)
testing/example_scripts/unittest/test_setup_skip.py:6
MethodsetUpClass
(cls)
testing/example_scripts/unittest/test_setup_skip_class.py:7
FunctionsetUpModule
()
testing/example_scripts/unittest/test_setup_skip_module.py:5
Methodset_continue
(self)
testing/python/approx.py:31
Methodset_default
(x, default)
src/_pytest/python_api.py:471
Methodset_log_path
Set the filename parameter for Logging.FileHandler(). Creates parent directory if it does not exist. .. warning:: This i
src/_pytest/logging.py:608
Methodset_trace
Invoke debugging via ``Pdb.set_trace``, dropping any IO capturing.
src/_pytest/debugging.py:278
Methodset_trace
(self, frame)
testing/test_debugging.py:75
Methodset_trace
(self)
testing/python/approx.py:25
Methodsetup
(self)
src/_pytest/doctest.py:276
Methodsetup
(self)
src/_pytest/python.py:668
Methodsetup
(self)
src/_pytest/python.py:1720
Methodsetup
Suspend on setup(). Needed after do_continue resumed, and entering another breakpoint again.
src/_pytest/debugging.py:212
Methodsetup
(self)
src/_pytest/unittest.py:188
Methodsetup_class
(cls)
doc/en/example/assertion/test_setup_flow_example.py:6
Methodsetup_class
(cls)
testing/test_unittest.py:455
Methodsetup_class
(self)
testing/code/test_source.py:81
Methodsetup_class
(self)
testing/code/test_source.py:113
Methodsetup_class
(self)
testing/code/test_source.py:529
Methodsetup_class
(self)
testing/code/test_source.py:557
Methodsetup_class
(self)
testing/code/test_source.py:575
Methodsetup_method
(self, method)
doc/en/example/assertion/test_setup_flow_example.py:12
Methodsetup_method
(self, method)
testing/code/test_excinfo.py:103
Functionsetup_module
(module)
doc/en/example/assertion/test_setup_flow_example.py:1
Functionsetup_module
(mod)
testing/test_nose.py:5
Methodshow_simple
(stat, lines: List[str])
src/_pytest/terminal.py:1071
Methodshow_skipped
(lines: List[str])
src/_pytest/terminal.py:1099
Methodshow_xfailed
(lines: List[str])
src/_pytest/terminal.py:1081
Methodshow_xpassed
(lines: List[str])
src/_pytest/terminal.py:1091
Methodshowfspath
(self)
src/_pytest/terminal.py:371
Methodshowheader
(self)
src/_pytest/terminal.py:359
Methodshowlongtestinfo
(self)
src/_pytest/terminal.py:381
Methodsimple
(cls, apiname: str)
src/_pytest/warning_types.py:76
Methodsimple_module
(self, tmp_path: Path)
testing/test_pathlib.py:273
Methodskipped
Whether the outcome is skipped.
src/_pytest/reports.py:157
Methodsnap
(self)
src/_pytest/capture.py:274
Methodsnap
(self)
src/_pytest/capture.py:313
Functionsome
(request)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_basic.py:5
Methodsome_function
(abc)
testing/test_mark.py:28
Functionsomething
(request)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_modulelevel.py:5
Methodsomething
(self, request)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_classlevel.py:6
Methodsort_by_scope
(arg_name: str)
src/_pytest/fixtures.py:1541
Functionspam
()
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_module_class.py:5
Functionspam
()
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/conftest.py:5
Functionspam
(spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/conftest.py:5
Functionspam
()
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/conftest.py:5
Functionspam
(spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/test_extend_fixture_conftest_module.py:5
Methodspam
(self, spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_module_class.py:11
Methodspawn
See :meth:`Pytester.spawn`.
src/_pytest/legacypath.py:246
Methodspawn_pytest
See :meth:`Pytester.spawn_pytest`.
src/_pytest/legacypath.py:240
Methodspy_find_spec
(name, path)
testing/test_assertrewrite.py:1397
Functionspy_write_pyc
(*args, **kwargs)
testing/test_assertrewrite.py:1360
Methodstart
(self)
src/_pytest/capture.py:269
MethodstartTest
(self, testcase: "unittest.TestCase")
src/_pytest/unittest.py:204
Methodstartpath
The path from which pytest was invoked. .. versionadded:: 7.0.0
src/_pytest/main.py:498
Methodstatement
Statement this frame is at.
src/_pytest/_code/code.py:155
Methodstatement
_pytest._code.Source object for the current statement.
src/_pytest/_code/code.py:225
Methodstatic
(arg1, arg2, x=1)
testing/python/fixtures.py:56
Functionstepwise_pytester
(pytester: Pytester)
testing/test_stepwise.py:7
MethodstopTest
(self, testcase: "unittest.TestCase")
src/_pytest/unittest.py:289
Functionsubst_path_linux
(filepath: Path)
testing/test_link_resolve.py:37
Functionsubst_path_windows
(filepath: Path)
testing/test_link_resolve.py:13
Methodsuspend
(self)
src/_pytest/capture.py:291
Methodsyspathinsert
See :meth:`Pytester.syspathinsert`.
src/_pytest/legacypath.py:131
Methodtag
(self)
testing/test_junitxml.py:131
Methodtb
The exception raw traceback.
src/_pytest/_code/code.py:544
MethodtearDown
(self)
testing/example_scripts/unittest/test_unittest_asynctest.py:12
Methodteardown
(self)
src/_pytest/nodes.py:324
Methodteardown
(self)
src/_pytest/unittest.py:197
Methodteardown_class
(cls)
doc/en/example/assertion/test_setup_flow_example.py:9
Functionteardown_module
(module)
doc/en/example/assertion/test_setup_flow_example.py:24
Functiontee_write
(s, **kwargs)
src/_pytest/pastebin.py:43
← previousnext →2,001–2,100 of 4,602, ranked by callers