Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,838 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,838
◇
Types & classes
772
↳
Endpoints
144
Method
test_from_model_signature
(self)
hypothesis/tests/django/toystore/test_given_models.py:204
Function
test_from_type_builtin_generic_with_string_forward_ref
()
hypothesis/tests/cover/test_lookup.py:692
Function
test_from_type_can_be_default_or_annotation
()
hypothesis/tests/nocover/test_build_signature.py:54
Function
test_from_type_can_be_default_or_annotation
()
hypothesis/tests/cover/test_lookup.py:1269
Function
test_from_type_resolves_required_posonly_args
(n: CustomInteger)
hypothesis/tests/cover/test_lookup.py:1414
Function
test_from_type_uses_signature_attribute
(val)
hypothesis/tests/nocover/test_build_signature.py:50
Function
test_from_type_with_tuple_works
(data, data_class: TestDataClass)
hypothesis/tests/cover/test_lookup_py39.py:118
Function
test_frozen_and_stoptest
()
hypothesis/tests/cover/test_exceptiongroup.py:102
Function
test_frozen_dims_signature
()
hypothesis/tests/numpy/test_gufunc.py:44
Function
test_frozenset_constants
(value)
hypothesis/tests/cover/test_constants_ast.py:159
Function
test_full_shrink_widens_and_then_minimizes
()
hypothesis/tests/conjecture/test_shrinker.py:1002
Function
test_fullmatch_generates_example
(pattern, matching_str)
hypothesis/tests/cover/test_regex.py:447
Function
test_fullmatch_matches
(pattern, eqiv_pattern)
hypothesis/tests/cover/test_regex.py:470
Function
test_fullmatch_must_be_bool
()
hypothesis/tests/cover/test_regex.py:476
Function
test_function
(data)
hypothesis/tests/conjecture/test_float_encoding.py:129
Function
test_function
(data)
hypothesis/tests/nocover/test_precise_shrinking.py:115
Function
test_function
(data)
hypothesis/tests/quality/test_poisoned_lists.py:76
Function
test_function
(data)
hypothesis/tests/quality/test_discovery_ability.py:68
Function
test_function
(data)
hypothesis/tests/quality/test_poisoned_trees.py:77
Function
test_function
(data)
hypothesis/tests/quality/test_zig_zagging.py:77
Function
test_function_composition
()
hypothesis/tests/cover/test_nothing.py:44
Function
test_function_key_distinguishes_alpha_renames
()
hypothesis/tests/cover/test_reflection.py:866
Function
test_function_lifetime
()
hypothesis/tests/conjecture/test_provider.py:334
Function
test_function_with_poison
(data)
hypothesis/tests/quality/test_poisoned_trees.py:104
Function
test_functions_argless_lambda
(f)
hypothesis/tests/cover/test_functions.py:92
Function
test_functions_default_to_not_tests
()
hypothesis/tests/cover/test_detection.py:16
Function
test_functions_kw_args
(f)
hypothesis/tests/cover/test_functions.py:83
Function
test_functions_lambda_with_arg
(f)
hypothesis/tests/cover/test_functions.py:100
Function
test_functions_no_args
(f)
hypothesis/tests/cover/test_functions.py:59
Function
test_functions_note_all_calls_to_impure_functions
(f)
hypothesis/tests/cover/test_functions.py:222
Function
test_functions_note_no_calls_to_constant_functions
(pure)
hypothesis/tests/cover/test_functions.py:241
Function
test_functions_note_only_first_to_pure_functions
(f)
hypothesis/tests/cover/test_functions.py:232
Function
test_functions_pure_two_functions_different_args_different_result
(f1, f2)
hypothesis/tests/cover/test_functions.py:200
Function
test_functions_pure_two_functions_same_args_different_result
(f1, f2, arg1, arg2)
hypothesis/tests/cover/test_functions.py:213
Function
test_functions_pure_with_different_args
(f, arg1, arg2)
hypothesis/tests/cover/test_functions.py:189
Function
test_functions_pure_with_same_args
(f, arg1, arg2)
hypothesis/tests/cover/test_functions.py:175
Function
test_functions_strategy_return_type_inference
(f)
hypothesis/tests/cover/test_functions.py:125
Function
test_functions_strategy_with_kwonly_args
(f)
hypothesis/tests/cover/test_functions.py:159
Function
test_functions_supports_find
()
hypothesis/tests/cover/test_functions.py:327
Function
test_functions_type_tracing
(tmp_path, source, expected)
whole_repo_tests/types/test_mypy.py:264
Function
test_functions_valid_within_given_invalid_outside
()
hypothesis/tests/cover/test_functions.py:131
Function
test_functions_with_args
(f)
hypothesis/tests/cover/test_functions.py:70
Function
test_fuzz_decimals_bounds
(data)
hypothesis/tests/cover/test_numerics.py:90
Function
test_fuzz_floats_bounds
(data)
hypothesis/tests/cover/test_numerics.py:37
Function
test_fuzz_fractions_bounds
(data)
hypothesis/tests/cover/test_numerics.py:71
Function
test_fuzz_one_input
(buffer_type)
hypothesis/tests/cover/test_fuzz_one_input.py:29
Function
test_fuzz_one_input_does_not_add_redundant_entries_to_database
(buffers, db_size)
hypothesis/tests/cover/test_fuzz_one_input.py:138
Function
test_fuzz_one_input_sets_interesting_origin
()
hypothesis/tests/cover/test_observability.py:566
Function
test_fuzz_one_input_status
(buffer, expected_status)
hypothesis/tests/cover/test_observability.py:548
Function
test_fuzz_stuff
(data)
hypothesis/tests/nocover/test_regex.py:76
Function
test_fuzzing_floats_bounds
(data, width, nonfloat)
hypothesis/tests/cover/test_float_nastiness.py:271
Function
test_fuzzing_invalid_test_raises_error
()
hypothesis/tests/cover/test_fuzz_one_input.py:158
Function
test_fuzzing_unsatisfiable_test_always_returns_None
()
hypothesis/tests/cover/test_fuzz_one_input.py:85
Function
test_ga_corrupted_artifact
Tests that corrupted artifacts are properly detected and warned about.
hypothesis/tests/cover/test_database_backend.py:292
Function
test_ga_database_not_created_when_not_used
(tmp_path_factory)
hypothesis/tests/nocover/test_database_usage.py:173
Function
test_ga_deletes_old_artifacts
Tests that old artifacts are automatically deleted.
hypothesis/tests/cover/test_database_backend.py:319
Function
test_ga_empty_read
Tests that an inexistent key returns nothing.
hypothesis/tests/cover/test_database_backend.py:254
Function
test_ga_fallback_expired
Tests that the fallback to an expired artifact is triggered if fetching a new one fails. This allows for (by example) offline development.
hypothesis/tests/cover/test_database_backend.py:380
Function
test_ga_initialize
Tests that the database is initialized when a new artifact is found. As well that initialization doesn't happen again on the next fetch.
hypothesis/tests/cover/test_database_backend.py:261
Function
test_ga_no_artifact
Tests that the database is disabled when no artifact is found.
hypothesis/tests/cover/test_database_backend.py:282
Function
test_ga_reads_artifact_without_directory_entries
()
hypothesis/tests/cover/test_database_backend.py:306
Function
test_ga_require_readonly_wrapping
Test that GitHubArtifactDatabase requires wrapping around ReadOnlyDatabase
hypothesis/tests/cover/test_database_backend.py:208
Function
test_ga_triggers_fetching
Tests whether an artifact fetch is triggered, and an expired artifact is deleted.
hypothesis/tests/cover/test_database_backend.py:337
Function
test_gadb_coverage
()
hypothesis/tests/cover/test_database_backend.py:482
Function
test_garbage_collects_the_secondary_key
()
hypothesis/tests/cover/test_slippage.py:156
Function
test_gc_hooks_do_not_cause_unraisable_recursionerror
(testdir)
hypothesis/tests/nocover/test_recursive.py:175
Function
test_gen_abstract
(foo)
hypothesis/tests/cover/test_type_lookup.py:411
Function
test_generate_0d_arrays_with_no_fill
Generate arrays with zero-dimensions and no fill.
hypothesis/tests/array_api/test_arrays.py:465
Function
test_generate_arbitrary_indices
(data)
hypothesis/tests/pandas/test_indexes.py:103
Function
test_generate_arrays_from_0d_arrays
Generate arrays from 0d array elements.
hypothesis/tests/array_api/test_arrays.py:148
Function
test_generate_arrays_from_integers_strategy_as_shape
Generate arrays from integers strategy as shapes strategy.
hypothesis/tests/array_api/test_arrays.py:122
Function
test_generate_arrays_from_shapes_strategy
Generate arrays from shapes strategy.
hypothesis/tests/array_api/test_arrays.py:117
Function
test_generate_arrays_from_unsigned_ints
Generate arrays from unsigned integer dtype.
hypothesis/tests/array_api/test_arrays.py:140
Function
test_generate_arrays_from_zero_dimensions
Generate arrays from empty shape.
hypothesis/tests/array_api/test_arrays.py:127
Function
test_generate_arrays_from_zero_sided_shapes
Generate arrays from shapes with at least one 0-sized dimension.
hypothesis/tests/array_api/test_arrays.py:133
Function
test_generate_indices_for_0d_shape
Strategy only generates empty tuples or Ellipsis as indices for an empty shape.
hypothesis/tests/array_api/test_indices.py:47
Function
test_generate_long_ellipsis
Strategy can replace runs of slice(None) with Ellipsis. We specifically test if [0,...,0] is generated alongside [0,:,:,:,0]
hypothesis/tests/array_api/test_indices.py:63
Function
test_generate_optional_indices
Strategy can generate indices with optional values.
hypothesis/tests/array_api/test_indices.py:30
Function
test_generate_tuples_and_non_tuples_for_1d_shape
Strategy can generate tuple and non-tuple indices with a 1-dimensional shape.
hypothesis/tests/array_api/test_indices.py:56
Function
test_generate_unique_arrays
Generates unique arrays.
hypothesis/tests/array_api/test_arrays.py:221
Function
test_generate_unique_arrays_using_all_elements
Unique strategy with elements strategy range equal to its size will only generate arrays with one of each possible element.
hypothesis/tests/array_api/test_arrays.py:266
Function
test_generate_unique_arrays_with_high_collision_elements
Generates unique arrays with just elements of 0.0 and NaN fill.
hypothesis/tests/array_api/test_arrays.py:247
Function
test_generate_unique_arrays_without_fill
Generate arrays from unique strategy with no fill. Covers the collision-related branches for fully dense unique arrays. Choosing 25 of 256 po
hypothesis/tests/array_api/test_arrays.py:421
Function
test_generate_valid_indices
Strategy generates valid indices.
hypothesis/tests/array_api/test_indices.py:95
Function
test_generated_lists_are_distinct
(ls)
hypothesis/tests/numpy/test_fill_values.py:18
Function
test_generates_all_values_for_unique_array
(arr)
hypothesis/tests/numpy/test_gen_data.py:282
Function
test_generates_ambiguous_datetimes_in_both_folds
(fold)
hypothesis/tests/datetime/test_zoneinfo_timezones.py:260
Function
test_generates_and_minimizes
()
hypothesis/tests/numpy/test_gen_data.py:65
Function
test_generates_imaginary_datetimes
()
hypothesis/tests/datetime/test_zoneinfo_timezones.py:254
Function
test_generates_leap_second_adjacent_times
()
hypothesis/tests/cover/test_datetimes.py:176
Function
test_generates_only_the_provided_characters_given_boundaries
(xs)
hypothesis/tests/cover/test_regex.py:338
Function
test_generates_parseable_escaped_strings
(string)
hypothesis/tests/lark/test_grammar.py:82
Function
test_generates_unix_rollover_adjacent_times
()
hypothesis/tests/cover/test_datetimes.py:181
Function
test_generates_unsigned_ints
(x)
hypothesis/tests/numpy/test_gen_data.py:56
Function
test_generates_valid_json
(string)
hypothesis/tests/lark/test_grammar.py:52
Function
test_generation_without_whitespace
()
hypothesis/tests/lark/test_grammar.py:101
Function
test_generator_functions_accept_any_iterator_like_annotation
(annotation)
hypothesis/tests/cover/test_functions.py:503
Function
test_generator_functions_explicit_returns
(f)
hypothesis/tests/cover/test_functions.py:383
Function
test_generator_functions_infer_yield_type
(f)
hypothesis/tests/cover/test_functions.py:373
Function
test_generator_functions_infer_yield_type_ignoring_send_and_return
(f)
hypothesis/tests/cover/test_functions.py:394
← previous
next →
4,701–4,800 of 6,838, ranked by callers