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
test_invalid_skip_keyword_parameter
Verify that using pytest.skip() with unknown parameter raises an error.
testing/test_skipping.py:1361
Method
test_invalid_test_module_name
(self, pytester: Pytester)
testing/python/collect.py:81
Method
test_invalid_toml_file
Invalid .toml files should raise `UsageError`.
testing/test_findpaths.py:55
Function
test_invalid_xml_escape
()
testing/test_junitxml.py:1047
Function
test_invocation_args
Ensure that Config.invocation_* arguments are correctly defined
testing/test_config.py:1795
Method
test_invocation_params_args
Show that fromdictargs can handle args in their "orig" format
testing/test_config.py:849
Method
test_invoke_plugin_api
(self, capsys)
testing/acceptance_test.py:580
Method
test_invoke_test_and_doctestmodules
(self, pytester: Pytester)
testing/acceptance_test.py:720
Method
test_invoke_with_invalid_type
(self)
testing/acceptance_test.py:569
Method
test_invoke_with_path
(self, pytester: Pytester, capsys)
testing/acceptance_test.py:575
Function
test_is_generator
()
testing/test_compat.py:22
Function
test_is_generator_async_gen_syntax
(pytester: Pytester)
testing/test_compat.py:132
Function
test_is_generator_async_syntax
(pytester: Pytester)
testing/test_compat.py:113
Function
test_is_generator_asyncio
(pytester: Pytester)
testing/test_compat.py:94
Function
test_is_main_py
(tmp_path: Path, name: str, expected: bool)
testing/test_doctest.py:1567
Function
test_is_setup_py_different_encoding
(tmp_path: Path, mod: str)
testing/test_doctest.py:1554
Function
test_is_setup_py_is_a_setup_py
(tmp_path: Path, mod: str)
testing/test_doctest.py:1547
Function
test_is_setup_py_not_named_setup_py
(tmp_path: Path)
testing/test_doctest.py:1540
Function
test_isclasscheck_issue53
(pytester: Pytester)
testing/test_unittest.py:51
Method
test_issue1035_obj_has_getattr
(self, pytester: Pytester)
testing/python/collect.py:227
Function
test_issue1073_conftest_special_objects
(pytester: Pytester)
testing/test_conftest.py:624
Method
test_issue109_sibling_conftests_not_loaded
(self, pytester: Pytester)
testing/acceptance_test.py:269
Method
test_issue131_on__init__
(self, tmp_path: Path)
testing/test_pathlib.py:244
Function
test_issue1338_name_resolving
()
testing/test_monkeypatch.py:392
Method
test_issue134_report_error_when_collecting_member
( self, pytester: Pytester, lookfor )
testing/acceptance_test.py:377
Function
test_issue151_load_all_conftests
(pytester: Pytester)
testing/test_conftest.py:142
Function
test_issue156_undo_staticmethod
(Sample: Type[Sample])
testing/test_monkeypatch.py:355
Method
test_issue1579_namedtuple
(self, pytester: Pytester)
testing/python/collect.py:239
Function
test_issue185_time_breaks
(pytester: Pytester)
testing/test_monkeypatch.py:295
Method
test_issue197_parametrize_emptyset
(self, pytester: Pytester)
testing/python/collect.py:323
Method
test_issue213_parametrize_value_no_equal
(self, pytester: Pytester)
testing/python/collect.py:347
Method
test_issue2234_property
(self, pytester: Pytester)
testing/python/collect.py:253
Method
test_issue2369_collect_module_fileext
Ensure we can collect files with weird file extensions as Python modules (#2369)
testing/python/collect.py:897
Method
test_issue28_setup_method_in_generate_tests
(self, pytester: Pytester)
testing/python/metafunc.py:1094
Function
test_issue333_result_clearing
(pytester: Pytester)
testing/test_unittest.py:951
Method
test_issue345
(self, pytester: Pytester)
testing/test_collection.py:814
Method
test_issue4445_import_plugin
#4445: Make sure the warning points to a reasonable location
testing/test_warnings.py:733
Method
test_issue4445_issue5928_mark_generator
#4445 and #5928: Make sure the warning from an unknown mark points to the test file where this mark is used.
testing/test_warnings.py:755
Method
test_issue4445_preparse
#4445: Make sure the warning points to a reasonable location See origin of _issue_warning_captured at: _pytest.config.__init__.py:910
testing/test_warnings.py:698
Method
test_issue4445_rewrite
#4445: Make sure the warning points to a reasonable location See origin of _issue_warning_captured at: _pytest.assertion.rewrite.py:241
testing/test_warnings.py:672
Method
test_issue498_fixture_finalizer_failing
(self, pytester: Pytester)
testing/python/fixtures.py:3291
Function
test_issue55
()
testing/code/test_source.py:506
Function
test_issue731
(pytester: Pytester)
testing/test_assertrewrite.py:1247
Method
test_issue751_multiple_parametrize_with_ids
(self, pytester: Pytester)
testing/python/collect.py:575
Method
test_issue88_initial_file_multinodes
(self, pytester: Pytester)
testing/acceptance_test.py:239
Method
test_issue93_initialnode_importing_capturing
(self, pytester: Pytester)
testing/acceptance_test.py:245
Function
test_issue_1944
(pytester: Pytester)
testing/test_assertion.py:1635
Function
test_istest_class_decorator
(pytester: Pytester)
testing/test_nose.py:392
Function
test_istest_function_decorator
(pytester: Pytester)
testing/test_nose.py:364
Function
test_it
(foo)
bench/manyparam.py:9
Function
test_it2
(foo)
bench/manyparam.py:13
Function
test_item_fspath
(pytester: pytest.Pytester)
testing/test_legacypath.py:9
Method
test_itemreport_directclasses_not_shown_as_subclasses
( self, pytester: Pytester )
testing/test_terminal.py:236
Method
test_itemreport_outcomes
(self, pytester: Pytester)
testing/test_reports.py:151
Method
test_itemreport_reportinfo
(self, pytester: Pytester)
testing/python/collect.py:1140
Method
test_itemreport_subclasses_show_subclassed_file
( self, pytester: Pytester )
testing/test_terminal.py:183
Method
test_iter
(self)
testing/code/test_source.py:107
Method
test_iter_rewritable_modules
(self, names, expected)
testing/test_config.py:832
Method
test_iterable_full_diff
Test the full diff assertion failure explanation. When verbose is False, then just a -v notice to get the diff is rendered, when verb
testing/test_assertion.py:439
Method
test_iterable_full_diff_ci
( self, monkeypatch: MonkeyPatch, pytester: Pytester )
testing/test_assertion.py:452
Function
test_iterparentnodeids
(nodeid: str, expected: List[str])
testing/test_nodes.py:32
Method
test_junit_duration_report
( self, pytester: Pytester, monkeypatch: MonkeyPatch, duration_report: str,
testing/test_junitxml.py:249
Method
test_junit_prefixing
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:616
Method
test_junit_report_for_doctest
#713: Fix --junit-xml option when used with --doctest-modules.
testing/test_doctest.py:710
Method
test_just_err_capture
(self)
testing/test_capture.py:1158
Method
test_just_out_capture
(self)
testing/test_capture.py:1150
Function
test_keep_duplicates
Test for issue https://github.com/pytest-dev/pytest/issues/1609 (#1609) Use --keep-duplicates to collect tests from duplicate directories.
testing/python/collect.py:1383
Method
test_keyboard_in_sessionstart
(self, pytester: Pytester)
testing/test_terminal.py:286
Method
test_keyboard_interrupt
(self, pytester: Pytester, fulltrace)
testing/test_terminal.py:255
Method
test_keyboardinterrupt_disables_capturing
(self, pytester: Pytester)
testing/test_capture.py:595
Method
test_keyboardinterrupt_propagates
(self, pytester: Pytester)
testing/test_runner.py:421
Method
test_keyword_added_for_session
(self, pytester: Pytester)
testing/test_mark.py:666
Method
test_keyword_extra
(self, pytester: Pytester)
testing/test_mark.py:845
Method
test_keyword_extra_dash
(self, pytester: Pytester)
testing/test_mark.py:858
Method
test_keyword_matching_is_case_insensitive_by_default
Check that selection via -k EXPRESSION is case-insensitive. Since markers are also added to the node keywords, they too can be matche
testing/test_collection.py:827
Function
test_keyword_option_considers_mark
(pytester: Pytester)
testing/test_mark.py:300
Function
test_keyword_option_custom
( expr: str, expected_passed: List[str], pytester: Pytester )
testing/test_mark.py:277
Function
test_keyword_option_parametrize
( expr: str, expected_passed: List[str], pytester: Pytester )
testing/test_mark.py:315
Function
test_keyword_option_wrong_arguments
( expr: str, expected_error: str, pytester: Pytester, capsys )
testing/test_mark.py:376
Method
test_keywords_at_node_level
(self, pytester: Pytester)
testing/test_mark.py:644
Method
test_lastfailed_args_with_deselected
Test regression with --lf running into NoMatch error. This was caused by it not collecting (non-failed) nodes given as arguments.
testing/test_cacheprovider.py:910
Method
test_lastfailed_collectfailure
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:494
Method
test_lastfailed_creates_cache_when_needed
(self, pytester: Pytester)
testing/test_cacheprovider.py:584
Method
test_lastfailed_difference_invocations
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:345
Method
test_lastfailed_failedfirst_order
(self, pytester: Pytester)
testing/test_cacheprovider.py:332
Method
test_lastfailed_failure_subset
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:528
Method
test_lastfailed_no_failures_behavior_all_passed
( self, pytester: Pytester )
testing/test_cacheprovider.py:742
Method
test_lastfailed_no_failures_behavior_empty_cache
( self, pytester: Pytester )
testing/test_cacheprovider.py:784
Method
test_lastfailed_skip_collection
Test --lf behavior regarding skipping collection of files that are not marked as failed in the cache (#5172).
testing/test_cacheprovider.py:800
Method
test_lastfailed_usecase
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:265
Method
test_lastfailed_usecase_splice
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:376
Method
test_lastfailed_with_all_filtered
(self, pytester: Pytester)
testing/test_cacheprovider.py:990
Method
test_lastfailed_with_class_items
Test regression with --lf deselecting whole classes.
testing/test_cacheprovider.py:956
Method
test_lastfailed_with_known_failures_not_being_selected
( self, pytester: Pytester )
testing/test_cacheprovider.py:852
Method
test_lastfailed_xpass
(self, pytester: Pytester)
testing/test_cacheprovider.py:391
Method
test_len
(self, request)
testing/test_assertrewrite.py:658
Method
test_len
(self)
testing/code/test_source.py:104
Method
test_lf_and_ff_prints_no_needless_message
( self, quiet: bool, opt: str, pytester: Pytester )
testing/test_cacheprovider.py:656
Method
test_line
(self, tw)
testing/io/test_terminalwriter.py:94
Method
test_line_unicode
(self, tw)
testing/io/test_terminalwriter.py:100
← previous
next →
3,101–3,200 of 4,602, ranked by callers