Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ functions
Functions
4,602 in github.com/pytest-dev/pytest
⨍
Functions
4,602
◇
Types & classes
572
↳
Endpoints
16
Function
result
(*args, **kwargs)
src/_pytest/fixtures.py:1172
Method
result
The return value of the call, if it didn't raise. Can only be accessed if excinfo is None.
src/_pytest/runner.py:305
Method
resume
(self)
src/_pytest/capture.py:296
Method
rlf
(fail_import, fail_run)
testing/test_cacheprovider.py:509
Method
rootpath
The path to the :ref:`rootdir <rootdir>`. :type: pathlib.Path .. versionadded:: 6.1
src/_pytest/config/__init__.py:963
Method
round_trip
(obj)
testing/test_pathlib.py:539
Method
run
See :meth:`Pytester.run`.
src/_pytest/legacypath.py:224
Method
runitem
See :meth:`Pytester.runitem`.
src/_pytest/legacypath.py:159
Method
runpytest
See :meth:`Pytester.runpytest`.
src/_pytest/legacypath.py:181
Method
runpytest_inprocess
See :meth:`Pytester.runpytest_inprocess`.
src/_pytest/legacypath.py:177
Method
runpytest_subprocess
See :meth:`Pytester.runpytest_subprocess`.
src/_pytest/legacypath.py:236
Method
runpython
See :meth:`Pytester.runpython`.
src/_pytest/legacypath.py:228
Method
runpython_c
See :meth:`Pytester.runpython_c`.
src/_pytest/legacypath.py:232
Method
runtest
(self)
src/_pytest/doctest.py:286
Method
runtest
Execute the underlying test function.
src/_pytest/python.py:1716
Method
runtest
(self)
src/_pytest/python.py:1761
Method
runtest
(self)
src/_pytest/unittest.py:292
Method
runtest
(self)
doc/en/example/nonpython/conftest.py:25
Method
runtest
(self)
testing/test_runner.py:888
Method
runtest
(self)
testing/example_scripts/fixtures/custom_item/conftest.py:5
Function
schema
Return an xmlschema.XMLSchema object for the junit-10.xsd file.
testing/test_junitxml.py:28
Method
scope
Scope string, one of "function", "class", "module", "package", "session".
src/_pytest/fixtures.py:454
Method
scope
Scope string, one of "function", "class", "module", "package", "session".
src/_pytest/fixtures.py:1010
Method
section
(self, *args, **kwargs)
testing/logging/test_reporting.py:848
Function
sess
(order)
doc/en/example/fixtures/test_fixtures_order_scope.py:30
Method
session
Pytest session object.
src/_pytest/fixtures.py:543
Method
session_request
(self, request)
testing/test_legacypath.py:100
Method
session_request
(self, request)
testing/python/fixtures.py:1097
Method
setUp
(self)
testing/example_scripts/unittest/test_setup_skip.py:6
Method
setUpClass
(cls)
testing/example_scripts/unittest/test_setup_skip_class.py:7
Function
setUpModule
()
testing/example_scripts/unittest/test_setup_skip_module.py:5
Method
set_continue
(self)
testing/python/approx.py:31
Method
set_default
(x, default)
src/_pytest/python_api.py:471
Method
set_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
Method
set_trace
Invoke debugging via ``Pdb.set_trace``, dropping any IO capturing.
src/_pytest/debugging.py:278
Method
set_trace
(self, frame)
testing/test_debugging.py:75
Method
set_trace
(self)
testing/python/approx.py:25
Method
setup
(self)
src/_pytest/doctest.py:276
Method
setup
(self)
src/_pytest/python.py:668
Method
setup
(self)
src/_pytest/python.py:1720
Method
setup
Suspend on setup(). Needed after do_continue resumed, and entering another breakpoint again.
src/_pytest/debugging.py:212
Method
setup
(self)
src/_pytest/unittest.py:188
Method
setup_class
(cls)
doc/en/example/assertion/test_setup_flow_example.py:6
Method
setup_class
(cls)
testing/test_unittest.py:455
Method
setup_class
(self)
testing/code/test_source.py:81
Method
setup_class
(self)
testing/code/test_source.py:113
Method
setup_class
(self)
testing/code/test_source.py:529
Method
setup_class
(self)
testing/code/test_source.py:557
Method
setup_class
(self)
testing/code/test_source.py:575
Method
setup_method
(self, method)
doc/en/example/assertion/test_setup_flow_example.py:12
Method
setup_method
(self, method)
testing/code/test_excinfo.py:103
Function
setup_module
(module)
doc/en/example/assertion/test_setup_flow_example.py:1
Function
setup_module
(mod)
testing/test_nose.py:5
Method
show_simple
(stat, lines: List[str])
src/_pytest/terminal.py:1071
Method
show_skipped
(lines: List[str])
src/_pytest/terminal.py:1099
Method
show_xfailed
(lines: List[str])
src/_pytest/terminal.py:1081
Method
show_xpassed
(lines: List[str])
src/_pytest/terminal.py:1091
Method
showfspath
(self)
src/_pytest/terminal.py:371
Method
showheader
(self)
src/_pytest/terminal.py:359
Method
showlongtestinfo
(self)
src/_pytest/terminal.py:381
Method
simple
(cls, apiname: str)
src/_pytest/warning_types.py:76
Method
simple_module
(self, tmp_path: Path)
testing/test_pathlib.py:273
Method
skipped
Whether the outcome is skipped.
src/_pytest/reports.py:157
Method
snap
(self)
src/_pytest/capture.py:274
Method
snap
(self)
src/_pytest/capture.py:313
Function
some
(request)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_basic.py:5
Method
some_function
(abc)
testing/test_mark.py:28
Function
something
(request)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_modulelevel.py:5
Method
something
(self, request)
testing/example_scripts/fixtures/fill_fixtures/test_funcarg_lookup_classlevel.py:6
Method
sort_by_scope
(arg_name: str)
src/_pytest/fixtures.py:1541
Function
spam
()
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_module_class.py:5
Function
spam
()
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/conftest.py:5
Function
spam
(spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_conftest/pkg/conftest.py:5
Function
spam
()
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/conftest.py:5
Function
spam
(spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_conftest_module/test_extend_fixture_conftest_module.py:5
Method
spam
(self, spam)
testing/example_scripts/fixtures/fill_fixtures/test_extend_fixture_module_class.py:11
Method
spawn
See :meth:`Pytester.spawn`.
src/_pytest/legacypath.py:246
Method
spawn_pytest
See :meth:`Pytester.spawn_pytest`.
src/_pytest/legacypath.py:240
Method
spy_find_spec
(name, path)
testing/test_assertrewrite.py:1397
Function
spy_write_pyc
(*args, **kwargs)
testing/test_assertrewrite.py:1360
Method
start
(self)
src/_pytest/capture.py:269
Method
startTest
(self, testcase: "unittest.TestCase")
src/_pytest/unittest.py:204
Method
startpath
The path from which pytest was invoked. .. versionadded:: 7.0.0
src/_pytest/main.py:498
Method
statement
Statement this frame is at.
src/_pytest/_code/code.py:155
Method
statement
_pytest._code.Source object for the current statement.
src/_pytest/_code/code.py:225
Method
static
(arg1, arg2, x=1)
testing/python/fixtures.py:56
Function
stepwise_pytester
(pytester: Pytester)
testing/test_stepwise.py:7
Method
stopTest
(self, testcase: "unittest.TestCase")
src/_pytest/unittest.py:289
Function
subst_path_linux
(filepath: Path)
testing/test_link_resolve.py:37
Function
subst_path_windows
(filepath: Path)
testing/test_link_resolve.py:13
Method
suspend
(self)
src/_pytest/capture.py:291
Method
syspathinsert
See :meth:`Pytester.syspathinsert`.
src/_pytest/legacypath.py:131
Method
tag
(self)
testing/test_junitxml.py:131
Method
tb
The exception raw traceback.
src/_pytest/_code/code.py:544
Method
tearDown
(self)
testing/example_scripts/unittest/test_unittest_asynctest.py:12
Method
teardown
(self)
src/_pytest/nodes.py:324
Method
teardown
(self)
src/_pytest/unittest.py:197
Method
teardown_class
(cls)
doc/en/example/assertion/test_setup_flow_example.py:9
Function
teardown_module
(module)
doc/en/example/assertion/test_setup_flow_example.py:24
Function
tee_write
(s, **kwargs)
src/_pytest/pastebin.py:43
← previous
next →
2,001–2,100 of 4,602, ranked by callers