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_option_default
(self, pytester: Pytester)
testing/test_assertrewrite.py:1494
Function
test_option_precedence_cmdline_over_ini
Filters defined in the command-line should take precedence over filters in ini files (#3946).
testing/test_warnings.py:385
Function
test_option_precedence_mark
Filters defined by marks should always take precedence (#3946).
testing/test_warnings.py:410
Function
test_options_on_small_file_do_not_blow_up
(pytester: Pytester)
testing/test_config.py:905
Function
test_order
(g, order)
doc/en/example/fixtures/test_fixtures_order_dependencies.py:44
Method
test_order
(self, func, cls, mod, pack, sess, order)
doc/en/example/fixtures/test_fixtures_order_scope.py:35
Method
test_order
(self, order, outer)
doc/en/example/fixtures/test_fixtures_request_different_scope.py:19
Method
test_order
(self, order, outer)
doc/en/example/fixtures/test_fixtures_request_different_scope.py:28
Method
test_order
(self, order, c1, c3)
doc/en/example/fixtures/test_fixtures_order_autouse_multiple_scopes.py:25
Method
test_order
(self, order, c2)
doc/en/example/fixtures/test_fixtures_order_autouse_multiple_scopes.py:30
Function
test_order_and_g
(g, order)
doc/en/example/fixtures/test_fixtures_order_autouse.py:44
Method
test_order_of_execution
(self, pytester: Pytester)
testing/test_session.py:180
Method
test_ordered_by_definition_order
(self, pytester: Pytester)
testing/python/collect.py:774
Function
test_ordering
()
testing/test_scope.py:7
Method
test_ordering_autouse_before_explicit
(self, pytester: Pytester)
testing/python/fixtures.py:2141
Method
test_ordering_dependencies_torndown_first
#226
testing/python/fixtures.py:2162
Method
test_orphaned_pyc_file
(self, pytester: Pytester, monkeypatch)
testing/test_assertrewrite.py:856
Function
test_outcome_exception_bad_msg
Check that OutcomeExceptions validate their input to prevent confusing errors (#5578)
testing/test_runner.py:1049
Function
test_outcomeexception_exceptionattributes
()
testing/test_runner.py:537
Function
test_outcomeexception_passes_except_Exception
()
testing/test_runner.py:542
Method
test_override_autouse_fixture_with_parametrized_fixture_conftest_conftest
Test override of the autouse fixture with parametrized one on the conftest level. This test covers the issue explained in issue 1601
testing/python/fixtures.py:385
Method
test_override_fixture_reusing_super_fixture_parametrization
Override a fixture at a lower level, reusing the higher-level fixture that is parametrized (#1953).
testing/python/fixtures.py:429
Method
test_override_ini_does_not_contain_paths
Check that -o no longer swallows all options after it (#3103)
testing/test_config.py:1672
Method
test_override_ini_handled_asap
-o should be handled as soon as possible and always override what's in ini files (#2238)
testing/test_config.py:1613
Method
test_override_ini_names
(self, pytester: Pytester, name: str)
testing/test_config.py:1494
Function
test_override_ini_paths
(pytester: pytest.Pytester)
testing/test_legacypath.py:142
Method
test_override_ini_paths
(self, pytester: Pytester)
testing/test_config.py:1527
Method
test_override_ini_usage_error_bad_style
(self, pytester: Pytester)
testing/test_config.py:1598
Method
test_override_multiple_and_default
(self, pytester: Pytester)
testing/test_config.py:1552
Method
test_override_non_parametrized_fixture_conftest_conftest
Test override of the non-parametrized fixture with parametrized one on the conftest level.
testing/python/fixtures.py:343
Method
test_override_non_parametrized_fixture_conftest_module
Test override of the non-parametrized fixture with parametrized one on the test module level.
testing/python/fixtures.py:310
Method
test_override_parametrize_fixture_and_indirect
Override a fixture at a lower level, reusing the higher-level fixture that is parametrized, while also using indirect parametrization.
testing/python/fixtures.py:459
Method
test_override_parametrized_fixture_conftest_conftest
Test override of the parametrized fixture with non-parametrized one on the conftest level.
testing/python/fixtures.py:271
Method
test_override_parametrized_fixture_conftest_module
Test override of the parametrized fixture with non-parametrized one on the test module level.
testing/python/fixtures.py:241
Method
test_override_parametrized_fixture_issue_979
Make sure a parametrized argument can override a parametrized fixture. This was a regression introduced in the fix for #736.
testing/python/fixtures.py:2230
Method
test_override_parametrized_fixture_with_new_parametrized_fixture
Overriding a parametrized fixture, while also parametrizing the new fixture and simultaneously requesting the overwritten fixture as parameter
testing/python/fixtures.py:529
Method
test_override_top_level_fixture_reusing_super_fixture_parametrization
Same as the above test, but with another level of overwriting.
testing/python/fixtures.py:495
Method
test_package
(self, pytester: Pytester)
testing/test_assertrewrite.py:927
Function
test_package_collection_infinite_recursion
(pytester: Pytester)
testing/python/collect.py:1403
Function
test_package_collection_init_given_as_argument
Regression test for #3749
testing/python/collect.py:1409
Method
test_package_fixture_complex
(self, pytester: Pytester)
testing/python/fixtures.py:1713
Function
test_package_ordering
. └── root ├── Test_root.py ├── __init__.py ├── sub1 │ ├── Test_sub1.py │ └── __init__.py
testing/python/collect.py:1459
Function
test_package_unimportable
(tmp_path: Path)
testing/test_pathlib.py:325
Function
test_package_with_modules
. └── root ├── __init__.py ├── sub1 │ ├── __init__.py │ └── sub1_1 │ ├── __init__.py
testing/python/collect.py:1416
Method
test_package_without__init__py
(self, pytester: Pytester)
testing/test_assertrewrite.py:944
Method
test_package_xunit_fixture
(self, pytester: Pytester)
testing/python/fixtures.py:1662
Method
test_packages
Regression test for #7758. The particular issue here was that Package nodes were included in the filtering, being themselves Modules
testing/test_cacheprovider.py:1026
Method
test_parameters_without_eq_semantics
(self, scope, pytester: Pytester)
testing/python/fixtures.py:1284
Function
test_parameterset_for_fail_at_collect
(pytester: Pytester)
testing/test_mark.py:970
Function
test_parameterset_for_parametrize_bad_markname
(pytester: Pytester)
testing/test_mark.py:1012
Method
test_parametrization_setup_teardown_ordering
(self, pytester: Pytester)
testing/python/fixtures.py:2112
Method
test_parametrize
(self, pytester: Pytester)
testing/python/fixtures.py:2191
Method
test_parametrize_CSV
(self, pytester: Pytester)
testing/python/metafunc.py:918
Method
test_parametrize_ID_generation_string_int_works
#290
testing/python/metafunc.py:1771
Method
test_parametrize_all_indirects
(self, pytester: Pytester)
testing/python/metafunc.py:1505
Method
test_parametrize_and_id
(self)
testing/python/metafunc.py:193
Method
test_parametrize_and_id_unicode
Allow unicode strings for "ids" parameter in Python 2 (##1905)
testing/python/metafunc.py:204
Method
test_parametrize_and_inner_getfixturevalue
(self, pytester: Pytester)
testing/python/metafunc.py:1125
Method
test_parametrize_and_scope
(self, pytester: Pytester)
testing/python/fixtures.py:2529
Method
test_parametrize_argument_not_in_indirect_list
#714
testing/python/metafunc.py:818
Method
test_parametrize_auto_scope
(self, pytester: Pytester)
testing/python/metafunc.py:1443
Method
test_parametrize_auto_scope_indirect
(self, pytester: Pytester)
testing/python/metafunc.py:1465
Method
test_parametrize_auto_scope_override_fixture
(self, pytester: Pytester)
testing/python/metafunc.py:1488
Method
test_parametrize_bad_scope
(self)
testing/python/metafunc.py:116
Method
test_parametrize_called_in_generate_tests
(self, pytester: Pytester)
testing/python/metafunc.py:1748
Method
test_parametrize_class_scenarios
(self, pytester: Pytester)
testing/python/metafunc.py:930
Method
test_parametrize_empty_list
#510
testing/python/metafunc.py:247
Method
test_parametrize_error
(self)
testing/python/metafunc.py:71
Method
test_parametrize_error_iterator
(self)
testing/python/metafunc.py:86
Method
test_parametrize_function_scoped_finalizers_called
( self, pytester: Pytester )
testing/python/fixtures.py:2986
Method
test_parametrize_functional
(self, pytester: Pytester)
testing/python/metafunc.py:854
Method
test_parametrize_functional2
(self, pytester: Pytester)
testing/python/metafunc.py:1110
Method
test_parametrize_gives_indicative_error_on_function_with_default_argument
( self, pytester: Pytester )
testing/python/metafunc.py:837
Method
test_parametrize_ids_exception
:param pytester: the instance of Pytester class, a temporary test directory.
testing/python/metafunc.py:566
Method
test_parametrize_ids_iterator_without_mark
(self)
testing/python/metafunc.py:229
Method
test_parametrize_ids_returns_non_string
(self, pytester: Pytester)
testing/python/metafunc.py:591
Method
test_parametrize_indirect
#714
testing/python/metafunc.py:639
Method
test_parametrize_indirect_list
#714
testing/python/metafunc.py:654
Method
test_parametrize_indirect_list_all
#714
testing/python/metafunc.py:665
Method
test_parametrize_indirect_list_empty
#714
testing/python/metafunc.py:676
Method
test_parametrize_indirect_list_error
#714
testing/python/metafunc.py:726
Method
test_parametrize_indirect_list_functional
#714 Test parametrization with 'indirect' parameter applied on particular arguments. As y is direct, its value should
testing/python/metafunc.py:698
Method
test_parametrize_indirect_uses_no_fixture_error_indirect_list
#714
testing/python/metafunc.py:799
Method
test_parametrize_indirect_uses_no_fixture_error_indirect_string
#714
testing/python/metafunc.py:780
Method
test_parametrize_indirect_wrong_type
(self)
testing/python/metafunc.py:687
Method
test_parametrize_issue323
(self, pytester: Pytester)
testing/python/metafunc.py:1336
Method
test_parametrize_issue634
(self, pytester: Pytester)
testing/python/metafunc.py:1567
Function
test_parametrize_iterator
`parametrize` should work with generators (#5354).
testing/test_mark.py:449
Method
test_parametrize_iterator
(self, pytester: Pytester)
testing/python/metafunc.py:1873
Method
test_parametrize_marked_value
(self, pytester: Pytester, strict: bool)
testing/python/metafunc.py:1792
Method
test_parametrize_misspelling
#463
testing/python/metafunc.py:1412
Method
test_parametrize_multiple_times
(self, pytester: Pytester)
testing/python/metafunc.py:901
Method
test_parametrize_on_setup_arg
(self, pytester: Pytester)
testing/python/metafunc.py:1149
Method
test_parametrize_onearg
(self)
testing/python/metafunc.py:875
Method
test_parametrize_onearg_indirect
(self)
testing/python/metafunc.py:884
Method
test_parametrize_overrides_fixture
Test parametrization when parameter overrides existing fixture with same name.
testing/python/collect.py:413
Method
test_parametrize_overrides_indirect_dependency_fixture
Test parametrization when parameter overrides a fixture that a test indirectly depends on
testing/python/collect.py:463
Method
test_parametrize_overrides_parametrized_fixture
Test parametrization when parameter overrides existing parametrized fixture with same name.
testing/python/collect.py:442
Method
test_parametrize_passed
(self, pytester: Pytester)
testing/python/collect.py:654
Method
test_parametrize_positional_args
(self, pytester: Pytester)
testing/python/metafunc.py:1860
← previous
next →
3,501–3,600 of 4,602, ranked by callers