MCPcopy Create free account

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

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

Functiontest_invalid_skip_keyword_parameter
Verify that using pytest.skip() with unknown parameter raises an error.
testing/test_skipping.py:1361
Methodtest_invalid_test_module_name
(self, pytester: Pytester)
testing/python/collect.py:81
Methodtest_invalid_toml_file
Invalid .toml files should raise `UsageError`.
testing/test_findpaths.py:55
Functiontest_invalid_xml_escape
()
testing/test_junitxml.py:1047
Functiontest_invocation_args
Ensure that Config.invocation_* arguments are correctly defined
testing/test_config.py:1795
Methodtest_invocation_params_args
Show that fromdictargs can handle args in their "orig" format
testing/test_config.py:849
Methodtest_invoke_plugin_api
(self, capsys)
testing/acceptance_test.py:580
Methodtest_invoke_test_and_doctestmodules
(self, pytester: Pytester)
testing/acceptance_test.py:720
Methodtest_invoke_with_invalid_type
(self)
testing/acceptance_test.py:569
Methodtest_invoke_with_path
(self, pytester: Pytester, capsys)
testing/acceptance_test.py:575
Functiontest_is_generator
()
testing/test_compat.py:22
Functiontest_is_generator_async_gen_syntax
(pytester: Pytester)
testing/test_compat.py:132
Functiontest_is_generator_async_syntax
(pytester: Pytester)
testing/test_compat.py:113
Functiontest_is_generator_asyncio
(pytester: Pytester)
testing/test_compat.py:94
Functiontest_is_main_py
(tmp_path: Path, name: str, expected: bool)
testing/test_doctest.py:1567
Functiontest_is_setup_py_different_encoding
(tmp_path: Path, mod: str)
testing/test_doctest.py:1554
Functiontest_is_setup_py_is_a_setup_py
(tmp_path: Path, mod: str)
testing/test_doctest.py:1547
Functiontest_is_setup_py_not_named_setup_py
(tmp_path: Path)
testing/test_doctest.py:1540
Functiontest_isclasscheck_issue53
(pytester: Pytester)
testing/test_unittest.py:51
Methodtest_issue1035_obj_has_getattr
(self, pytester: Pytester)
testing/python/collect.py:227
Functiontest_issue1073_conftest_special_objects
(pytester: Pytester)
testing/test_conftest.py:624
Methodtest_issue109_sibling_conftests_not_loaded
(self, pytester: Pytester)
testing/acceptance_test.py:269
Methodtest_issue131_on__init__
(self, tmp_path: Path)
testing/test_pathlib.py:244
Functiontest_issue1338_name_resolving
()
testing/test_monkeypatch.py:392
Methodtest_issue134_report_error_when_collecting_member
( self, pytester: Pytester, lookfor )
testing/acceptance_test.py:377
Functiontest_issue151_load_all_conftests
(pytester: Pytester)
testing/test_conftest.py:142
Functiontest_issue156_undo_staticmethod
(Sample: Type[Sample])
testing/test_monkeypatch.py:355
Methodtest_issue1579_namedtuple
(self, pytester: Pytester)
testing/python/collect.py:239
Functiontest_issue185_time_breaks
(pytester: Pytester)
testing/test_monkeypatch.py:295
Methodtest_issue197_parametrize_emptyset
(self, pytester: Pytester)
testing/python/collect.py:323
Methodtest_issue213_parametrize_value_no_equal
(self, pytester: Pytester)
testing/python/collect.py:347
Methodtest_issue2234_property
(self, pytester: Pytester)
testing/python/collect.py:253
Methodtest_issue2369_collect_module_fileext
Ensure we can collect files with weird file extensions as Python modules (#2369)
testing/python/collect.py:897
Methodtest_issue28_setup_method_in_generate_tests
(self, pytester: Pytester)
testing/python/metafunc.py:1094
Functiontest_issue333_result_clearing
(pytester: Pytester)
testing/test_unittest.py:951
Methodtest_issue345
(self, pytester: Pytester)
testing/test_collection.py:814
Methodtest_issue4445_import_plugin
#4445: Make sure the warning points to a reasonable location
testing/test_warnings.py:733
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_issue498_fixture_finalizer_failing
(self, pytester: Pytester)
testing/python/fixtures.py:3291
Functiontest_issue55
()
testing/code/test_source.py:506
Functiontest_issue731
(pytester: Pytester)
testing/test_assertrewrite.py:1247
Methodtest_issue751_multiple_parametrize_with_ids
(self, pytester: Pytester)
testing/python/collect.py:575
Methodtest_issue88_initial_file_multinodes
(self, pytester: Pytester)
testing/acceptance_test.py:239
Methodtest_issue93_initialnode_importing_capturing
(self, pytester: Pytester)
testing/acceptance_test.py:245
Functiontest_issue_1944
(pytester: Pytester)
testing/test_assertion.py:1635
Functiontest_istest_class_decorator
(pytester: Pytester)
testing/test_nose.py:392
Functiontest_istest_function_decorator
(pytester: Pytester)
testing/test_nose.py:364
Functiontest_it
(foo)
bench/manyparam.py:9
Functiontest_it2
(foo)
bench/manyparam.py:13
Functiontest_item_fspath
(pytester: pytest.Pytester)
testing/test_legacypath.py:9
Methodtest_itemreport_directclasses_not_shown_as_subclasses
( self, pytester: Pytester )
testing/test_terminal.py:236
Methodtest_itemreport_outcomes
(self, pytester: Pytester)
testing/test_reports.py:151
Methodtest_itemreport_reportinfo
(self, pytester: Pytester)
testing/python/collect.py:1140
Methodtest_itemreport_subclasses_show_subclassed_file
( self, pytester: Pytester )
testing/test_terminal.py:183
Methodtest_iter
(self)
testing/code/test_source.py:107
Methodtest_iter_rewritable_modules
(self, names, expected)
testing/test_config.py:832
Methodtest_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
Methodtest_iterable_full_diff_ci
( self, monkeypatch: MonkeyPatch, pytester: Pytester )
testing/test_assertion.py:452
Functiontest_iterparentnodeids
(nodeid: str, expected: List[str])
testing/test_nodes.py:32
Methodtest_junit_duration_report
( self, pytester: Pytester, monkeypatch: MonkeyPatch, duration_report: str,
testing/test_junitxml.py:249
Methodtest_junit_prefixing
( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str )
testing/test_junitxml.py:616
Methodtest_junit_report_for_doctest
#713: Fix --junit-xml option when used with --doctest-modules.
testing/test_doctest.py:710
Methodtest_just_err_capture
(self)
testing/test_capture.py:1158
Methodtest_just_out_capture
(self)
testing/test_capture.py:1150
Functiontest_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
Methodtest_keyboard_in_sessionstart
(self, pytester: Pytester)
testing/test_terminal.py:286
Methodtest_keyboard_interrupt
(self, pytester: Pytester, fulltrace)
testing/test_terminal.py:255
Methodtest_keyboardinterrupt_disables_capturing
(self, pytester: Pytester)
testing/test_capture.py:595
Methodtest_keyboardinterrupt_propagates
(self, pytester: Pytester)
testing/test_runner.py:421
Methodtest_keyword_added_for_session
(self, pytester: Pytester)
testing/test_mark.py:666
Methodtest_keyword_extra
(self, pytester: Pytester)
testing/test_mark.py:845
Methodtest_keyword_extra_dash
(self, pytester: Pytester)
testing/test_mark.py:858
Methodtest_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
Functiontest_keyword_option_considers_mark
(pytester: Pytester)
testing/test_mark.py:300
Functiontest_keyword_option_custom
( expr: str, expected_passed: List[str], pytester: Pytester )
testing/test_mark.py:277
Functiontest_keyword_option_parametrize
( expr: str, expected_passed: List[str], pytester: Pytester )
testing/test_mark.py:315
Functiontest_keyword_option_wrong_arguments
( expr: str, expected_error: str, pytester: Pytester, capsys )
testing/test_mark.py:376
Methodtest_keywords_at_node_level
(self, pytester: Pytester)
testing/test_mark.py:644
Methodtest_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
Methodtest_lastfailed_collectfailure
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:494
Methodtest_lastfailed_creates_cache_when_needed
(self, pytester: Pytester)
testing/test_cacheprovider.py:584
Methodtest_lastfailed_difference_invocations
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:345
Methodtest_lastfailed_failedfirst_order
(self, pytester: Pytester)
testing/test_cacheprovider.py:332
Methodtest_lastfailed_failure_subset
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:528
Methodtest_lastfailed_no_failures_behavior_all_passed
( self, pytester: Pytester )
testing/test_cacheprovider.py:742
Methodtest_lastfailed_no_failures_behavior_empty_cache
( self, pytester: Pytester )
testing/test_cacheprovider.py:784
Methodtest_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
Methodtest_lastfailed_usecase
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:265
Methodtest_lastfailed_usecase_splice
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/test_cacheprovider.py:376
Methodtest_lastfailed_with_all_filtered
(self, pytester: Pytester)
testing/test_cacheprovider.py:990
Methodtest_lastfailed_with_class_items
Test regression with --lf deselecting whole classes.
testing/test_cacheprovider.py:956
Methodtest_lastfailed_with_known_failures_not_being_selected
( self, pytester: Pytester )
testing/test_cacheprovider.py:852
Methodtest_lastfailed_xpass
(self, pytester: Pytester)
testing/test_cacheprovider.py:391
Methodtest_len
(self, request)
testing/test_assertrewrite.py:658
Methodtest_len
(self)
testing/code/test_source.py:104
Methodtest_lf_and_ff_prints_no_needless_message
( self, quiet: bool, opt: str, pytester: Pytester )
testing/test_cacheprovider.py:656
Methodtest_line
(self, tw)
testing/io/test_terminalwriter.py:94
Methodtest_line_unicode
(self, tw)
testing/io/test_terminalwriter.py:100
← previousnext →3,101–3,200 of 4,602, ranked by callers