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
Method
test_parametrize_request_name
Show proper error when 'request' is used as a parameter name in parametrize (#6183)
testing/python/metafunc.py:127
Method
test_parametrize_scope_overrides
( self, pytester: Pytester, scope: str, length: int )
testing/python/metafunc.py:1309
Method
test_parametrize_separated_lifecycle
(self, pytester: Pytester)
testing/python/fixtures.py:2957
Method
test_parametrize_separated_order
(self, pytester: Pytester)
testing/python/fixtures.py:2571
Method
test_parametrize_separated_order_higher_scope_first
( self, pytester: Pytester )
testing/python/fixtures.py:2760
Method
test_parametrize_setup_function
(self, pytester: Pytester)
testing/python/fixtures.py:3090
Method
test_parametrize_skip
(self, pytester: Pytester)
testing/python/collect.py:609
Method
test_parametrize_skipif
(self, pytester: Pytester)
testing/python/collect.py:594
Method
test_parametrize_skipif_no_skip
(self, pytester: Pytester)
testing/python/collect.py:624
Method
test_parametrize_some_arguments_auto_scope
Integration test for (#3941)
testing/python/metafunc.py:1532
Method
test_parametrize_twoargs
(self)
testing/python/metafunc.py:892
Method
test_parametrize_uses_no_fixture_error_indirect_false
The 'uses no fixture' error tells the user at collection time that the parametrize data they've set up doesn't correspond to the fixtu
testing/python/metafunc.py:736
Method
test_parametrize_uses_no_fixture_error_indirect_true
#714
testing/python/metafunc.py:758
Method
test_parametrize_with_None_in_ids
(self, pytester: Pytester)
testing/python/metafunc.py:1216
Method
test_parametrize_with_empty_string_arguments
(self, pytester: Pytester)
testing/python/collect.py:517
Method
test_parametrize_with_identical_ids_get_unique_names
( self, pytester: Pytester )
testing/python/metafunc.py:1288
Method
test_parametrize_with_ids
(self, pytester: Pytester)
testing/python/metafunc.py:1172
Method
test_parametrize_with_mark
(self, pytester: Pytester)
testing/python/collect.py:496
Function
test_parametrize_with_module
(pytester: Pytester)
testing/test_mark.py:332
Method
test_parametrize_with_non_hashable_values
Test parametrization with non-hashable values.
testing/python/collect.py:362
Method
test_parametrize_with_non_hashable_values_indirect
Test parametrization with non-hashable values with indirect parametrization.
testing/python/collect.py:382
Method
test_parametrize_with_userobjects
(self)
testing/python/metafunc.py:268
Method
test_parametrize_with_wrong_number_of_ids
(self)
testing/python/metafunc.py:215
Method
test_parametrize_without_ids
(self, pytester: Pytester)
testing/python/metafunc.py:1196
Method
test_parametrize_xfail
(self, pytester: Pytester)
testing/python/collect.py:639
Method
test_parametrize_xfail_passed
(self, pytester: Pytester)
testing/python/collect.py:669
Function
test_parametrized_collect_with_wrong_args
Test collect parametrized func with wrong number of args.
testing/test_mark.py:406
Function
test_parametrized_collected_from_command_line
Parametrized test not collected if test named specified in command line issue#649.
testing/test_mark.py:390
Method
test_parametrized_empty_ids
Tests parametrized with empty ids cause an internal error (#1849).
testing/python/metafunc.py:1255
Method
test_parametrized_fixture_teardown_order
(self, pytester: Pytester)
testing/python/fixtures.py:2838
Method
test_parametrized_ids_invalid_type
Test error with non-strings/non-ints, without generator (#1857).
testing/python/metafunc.py:1269
Method
test_parametrized_with_bytes_regex
(self, pytester: Pytester)
testing/acceptance_test.py:477
Function
test_parametrized_with_kwargs
Test collect parametrized func with wrong number of args.
testing/test_mark.py:429
Method
test_parametrized_with_null_bytes
Test parametrization with values that contain null bytes and unicode characters (#2644, #2957)
testing/acceptance_test.py:490
Method
test_params_and_ids
(self, pytester: Pytester)
testing/python/fixtures.py:3140
Method
test_params_and_ids_yieldfixture
(self, pytester: Pytester)
testing/python/fixtures.py:3157
Method
test_parse
(self, parser: parseopt.Parser)
testing/test_parseopt.py:119
Method
test_parse2
(self, parser: parseopt.Parser)
testing/test_parseopt.py:125
Method
test_parse_defaultgetter
(self)
testing/test_parseopt.py:182
Method
test_parse_known_and_unknown_args
(self, parser: parseopt.Parser)
testing/test_parseopt.py:136
Method
test_parse_known_args
(self, parser: parseopt.Parser)
testing/test_parseopt.py:129
Method
test_parse_setoption
(self, parser: parseopt.Parser)
testing/test_parseopt.py:153
Method
test_parse_special_destination
(self, parser: parseopt.Parser)
testing/test_parseopt.py:163
Method
test_parse_split_positional_arguments
(self, parser: parseopt.Parser)
testing/test_parseopt.py:168
Function
test_parse_summary_line_always_plural
Parsing summaries always returns plural nouns (#6505)
testing/test_pytester.py:781
Function
test_parse_warning_filter
( arg: str, escape: bool, expected: Tuple[str, str, Type[Warning], str, int] )
testing/test_config.py:2038
Function
test_parse_warning_filter_failure
(arg: str)
testing/test_config.py:2061
Method
test_parse_will_set_default
(self, parser: parseopt.Parser)
testing/test_parseopt.py:145
Function
test_parseconfig
(pytester: Pytester)
testing/test_pytester.py:77
Method
test_parsefactories_conftest
(self, pytester: Pytester)
testing/python/fixtures.py:1568
Method
test_parsefactories_conftest
(self, pytester: Pytester)
testing/python/fixtures.py:1788
Method
test_parsefactories_conftest_and_module_and_class
( self, pytester: Pytester )
testing/python/fixtures.py:1582
Method
test_parsefactories_evil_objects_issue214
(self, pytester: Pytester)
testing/python/fixtures.py:1552
Method
test_parsefactories_relative_node_ids
#616
testing/test_conftest.py:557
Method
test_parsefactories_relative_node_ids
( self, pytester: Pytester, monkeypatch: MonkeyPatch )
testing/python/fixtures.py:1609
Method
test_parser_addoption
(self, parser: parseopt.Parser)
testing/test_parseopt.py:113
Method
test_parsing_again_fails
(self, pytester: Pytester)
testing/test_config.py:475
Method
test_partial_setup_failure
(self, pytester: Pytester)
testing/test_capture.py:585
Method
test_pass_captures_stderr
( self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str )
testing/test_junitxml.py:823
Method
test_pass_captures_stdout
( self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str )
testing/test_junitxml.py:800
Function
test_pass_extra_reporting
(pytester: Pytester)
testing/test_terminal.py:1103
Function
test_pass_output_reporting
(pytester: Pytester)
testing/test_terminal.py:1117
Function
test_pass_reporting_on_fail
(pytester: Pytester)
testing/test_terminal.py:1111
Method
test_pass_skip_fail
(self, pytester: Pytester, option)
testing/test_terminal.py:82
Method
test_passes
(self, pytester: Pytester)
testing/test_terminal.py:770
Method
test_passfunction
(self, pytester: Pytester)
testing/test_runner.py:118
Method
test_pastebin_http_error
(self, pastebin, mocked_urlopen_fail)
testing/test_pastebin.py:157
Method
test_pastebin_invalid_url
(self, pastebin, mocked_urlopen_invalid)
testing/test_pastebin.py:149
Method
test_paths_support
Report attributes which are path-like should become strings.
testing/test_reports.py:226
Method
test_pattern_contains_subdirectories
If one of the python_files patterns contain subdirectories ("tests/**.py") we can't bailout early because we need to match with the full path,
testing/test_assertrewrite.py:1442
Method
test_pdb_and_capsys
(self, pytester: Pytester)
testing/test_debugging.py:429
Function
test_pdb_can_be_rewritten
(pytester: Pytester)
testing/acceptance_test.py:1214
Method
test_pdb_collection_failure_is_shown
(self, pytester: Pytester)
testing/test_debugging.py:782
Method
test_pdb_continue_with_recursive_debug
Full coverage for do_debug without capturing. This is very similar to test_pdb_interaction_continue_recursive in general, but mocks o
testing/test_debugging.py:659
Method
test_pdb_custom_cls
( self, pytester: Pytester, custom_pdb_calls: List[str] )
testing/test_debugging.py:845
Method
test_pdb_custom_cls
(self, pytester: Pytester, custom_debugger_hook)
testing/test_debugging.py:958
Method
test_pdb_custom_cls_invalid
(self, pytester: Pytester)
testing/test_debugging.py:855
Method
test_pdb_custom_cls_with_set_trace
( self, pytester: Pytester, monkeypatch: MonkeyPatch, )
testing/test_debugging.py:879
Method
test_pdb_custom_cls_without_pdb
( self, pytester: Pytester, custom_pdb_calls: List[str] )
testing/test_debugging.py:871
Method
test_pdb_dont_print_empty_captured_stdout_and_stderr
( self, pytester: Pytester )
testing/test_debugging.py:232
Method
test_pdb_interaction_capturing_simple
(self, pytester: Pytester)
testing/test_debugging.py:364
Method
test_pdb_interaction_capturing_twice
(self, pytester: Pytester)
testing/test_debugging.py:532
Method
test_pdb_interaction_doctest
(self, pytester: Pytester)
testing/test_debugging.py:485
Method
test_pdb_interaction_exception
(self, pytester: Pytester)
testing/test_debugging.py:288
Method
test_pdb_interaction_on_collection_issue181
(self, pytester: Pytester)
testing/test_debugging.py:308
Method
test_pdb_interaction_on_internal_error
(self, pytester: Pytester)
testing/test_debugging.py:322
Method
test_pdb_not_altered
(self, pytester: Pytester)
testing/test_debugging.py:1031
Method
test_pdb_on_BdbQuit
(self, pytester, pdblist)
testing/test_debugging.py:135
Method
test_pdb_on_KeyboardInterrupt
(self, pytester, pdblist)
testing/test_debugging.py:147
Method
test_pdb_on_fail
(self, pytester: Pytester, pdblist)
testing/test_debugging.py:97
Method
test_pdb_on_skip
(self, pytester, pdblist)
testing/test_debugging.py:123
Method
test_pdb_on_xfail
(self, pytester: Pytester, pdblist)
testing/test_debugging.py:110
Method
test_pdb_prevent_ConftestImportFailure_hiding_exception
( self, pytester: Pytester )
testing/test_debugging.py:348
Method
test_pdb_print_captured_logs
(self, pytester, showcapture: str)
testing/test_debugging.py:250
Method
test_pdb_print_captured_logs_nologging
(self, pytester: Pytester)
testing/test_debugging.py:269
Method
test_pdb_print_captured_stdout_and_stderr
(self, pytester: Pytester)
testing/test_debugging.py:203
Method
test_pdb_set_trace_interception
(self, pytester: Pytester)
testing/test_debugging.py:411
Method
test_pdb_set_trace_kwargs
(self, pytester: Pytester)
testing/test_debugging.py:388
Function
test_pdb_suspends_fixture_capturing
Using "-s" with pytest should suspend/resume fixture capturing.
testing/test_debugging.py:1190
Function
test_pdb_teardown_called
Ensure tearDown() is always called when --pdb is given in the command-line. We delay the normal tearDown() calls when --pdb is given, so this ens
testing/test_unittest.py:1208
← previous
next →
3,601–3,700 of 4,602, ranked by callers