MCPcopy Create free account

hub / github.com/commitizen-tools/commitizen / functions

Functions1,032 in github.com/commitizen-tools/commitizen

Functiontest_questions
(config)
tests/test_cz_customize.py:519
Functiontest_questions
(config)
tests/test_cz_conventional_commits.py:43
Functiontest_questions_unicode
(config_with_unicode)
tests/test_cz_customize.py:542
Functiontest_questions_with_search_filter
Test that questions are properly configured with search filter
tests/test_cz_search_filter.py:48
Functiontest_raise_for_unknown_provider
(config: BaseConfig)
tests/providers/test_base_provider.py:31
Functiontest_raise_for_unknown_version_scheme
(config: BaseConfig)
tests/test_version_schemes.py:34
Functiontest_random_location
(random_location_version_file, file_regression)
tests/test_bump_update_version_in_files.py:133
Methodtest_reject_v_tag_format
(self, mocker: MockFixture, config: BaseConfig)
tests/commands/test_init_command.py:396
Functiontest_render_changelog
( gitcommits, tags, changelog_content, any_changelog_format: ChangelogFormat )
tests/test_changelog.py:1237
Functiontest_render_changelog_from_default_plugin_values
( gitcommits, tags, changelog_content, any_changelog_format: ChangelogFormat )
tests/test_changelog.py:1251
Functiontest_render_changelog_override_loader
(gitcommits, tags, tmp_path: Path)
tests/test_changelog.py:1265
Functiontest_render_changelog_override_loader_and_template
( gitcommits, tags, tmp_path: Path )
tests/test_changelog.py:1311
Functiontest_render_changelog_override_template_from_cwd
( gitcommits, tags, chdir: Path, any_changelog_format: ChangelogFormat )
tests/test_changelog.py:1279
Functiontest_render_changelog_override_template_from_cwd_with_custom_name
( gitcommits, tags, chdir: Path )
tests/test_changelog.py:1295
Functiontest_render_changelog_support_arbitrary_kwargs
(gitcommits, tags, tmp_path: Path)
tests/test_changelog.py:1327
Functiontest_render_changelog_tag_and_unreleased
( gitcommits, tags, any_changelog_format: ChangelogFormat )
tests/test_changelog.py:1353
Functiontest_render_changelog_unreleased
(gitcommits, any_changelog_format: ChangelogFormat)
tests/test_changelog.py:1340
Functiontest_render_changelog_with_change_type
( gitcommits, tags, any_changelog_format: ChangelogFormat )
tests/test_changelog.py:1374
Functiontest_render_changelog_with_changelog_message_builder_hook
( gitcommits, tags, any_changelog_format: ChangelogFormat )
tests/test_changelog.py:1390
Functiontest_render_changelog_with_changelog_message_builder_hook_multiple_entries
( gitcommits, tags, any_changelog_format: ChangelogFormat )
tests/test_changelog.py:1441
Functiontest_render_changelog_with_changelog_release_hook
( gitcommits, tags, any_changelog_format: ChangelogFormat )
tests/test_changelog.py:1498
Methodtest_replacement_when_latest_version_position_after_unreleased_end
Test replacement when latest_version_position is after unreleased_end.
tests/test_incremental_build.py:79
Methodtest_replacement_when_latest_version_position_before_unreleased_end
Test replacement when latest_version_position is before unreleased_end.
tests/test_incremental_build.py:120
Methodtest_replacement_when_latest_version_position_is_none
Test replacement when latest_version_position is None (append to end).
tests/test_incremental_build.py:49
Functiontest_required_validator
()
tests/test_cz_utils.py:7
Methodtest_returns_command_with_shell_false
Test that cmd.run executes a list-based command without shell.
tests/test_cmd.py:61
Methodtest_returns_command_with_shell_true
Test that cmd.run_shell executes a string command via the shell.
tests/test_cmd.py:143
Functiontest_run
(mocker: MockFixture)
tests/test_bump_hooks.py:11
Functiontest_run_error
(mocker: MockFixture)
tests/test_bump_hooks.py:28
Functiontest_run_integration
Integration test that actually executes hooks.run() without mocking.
tests/test_bump_hooks.py:45
Functiontest_run_integration_error
Integration test that a failing hook raises RunHookError.
tests/test_bump_hooks.py:50
Methodtest_runs_with_string
Test that passing a string to cmd.run_interactive emits a DeprecationWarning.
tests/test_cmd.py:182
Functiontest_schema
(config)
tests/test_cz_jira.py:29
Functiontest_schema
(config)
tests/test_cz_customize.py:624
Functiontest_schema
just testing a string is returned. not the content
tests/test_cz_conventional_commits.py:164
Functiontest_schema_pattern
(config)
tests/test_cz_customize.py:629
Functiontest_schema_pattern_unicode
(config_with_unicode)
tests/test_cz_customize.py:634
Functiontest_scm_provider
( config: BaseConfig, tag_format: str, tag: str, expected_version: str, util: UtilFixture,
tests/providers/test_scm_provider.py:42
Functiontest_scm_provider_default_with_commits_and_tags
( config: BaseConfig, util: UtilFixture )
tests/providers/test_scm_provider.py:76
Functiontest_scm_provider_default_without_commits_and_tags
(config: BaseConfig)
tests/providers/test_scm_provider.py:67
Functiontest_scm_provider_detect_legacy_tags
(config: BaseConfig, util: UtilFixture)
tests/providers/test_scm_provider.py:123
Functiontest_scm_provider_prefers_full_version_over_floating_tags
Floating tags (`v1.0`, `v1`) must not hide the full `v1.0.0` version.
tests/providers/test_scm_provider.py:146
Functiontest_scopes_transformations
(scopes_transformation)
tests/test_cz_conventional_commits.py:21
Functiontest_semver_implement_version_protocol
()
tests/test_version_scheme_semver2.py:630
Functiontest_semver_implement_version_protocol
()
tests/test_version_scheme_semver.py:878
Functiontest_semver_scheme_property
()
tests/test_version_scheme_semver2.py:625
Functiontest_semver_scheme_property
()
tests/test_version_scheme_semver.py:873
Functiontest_set_key
(config_files_manager)
tests/test_conf.py:188
Functiontest_simple_command_call_once
(config, mocker: MockFixture, command)
tests/commands/test_common_command.py:51
Methodtest_single_line_unreleased_section
Test replacement of single line unreleased section.
tests/test_incremental_build.py:253
Methodtest_skip_behavior_during_unreleased_section
Test that lines are properly skipped during unreleased section processing.
tests/test_incremental_build.py:484
Methodtest_skips_hook_question_when_neither_installer_is_installed
( self, mocker: MockFixture, config: BaseConfig, tmp_path, monkeypatch, capsys )
tests/commands/test_init_command.py:231
Functiontest_small_answer
(config)
tests/test_cz_conventional_commits.py:59
Methodtest_stderr_captured
(self)
tests/test_cmd.py:95
Methodtest_stdout_captured
(self)
tests/test_cmd.py:89
Functiontest_subject_transformations
(subject_transformation)
tests/test_cz_conventional_commits.py:38
Functiontest_tag_rules_tag_format_only
(tag: TagDef)
tests/test_changelog.py:1571
Functiontest_tag_rules_with_ignored_tags
(tag: TagDef)
tests/test_changelog.py:1587
Functiontest_tag_rules_with_legacy_tags
(tag: TagDef)
tests/test_changelog.py:1577
Functiontest_tags_rules_get_version_tags
(capsys: pytest.CaptureFixture)
tests/test_changelog.py:1604
Functiontest_toml_provider_handles_various_unicode_characters
TomlProvider should handle a wide range of Unicode characters.
tests/providers/test_base_provider.py:107
Functiontest_toml_provider_uses_encoding_with_encoding_fixture
TomlProvider should correctly read a TOML file with non-ASCII content.
tests/providers/test_base_provider.py:63
Functiontest_unknown_args_before_double_dash_raises
(util: UtilFixture)
tests/test_cli.py:192
Functiontest_unknown_args_raises
(util: UtilFixture)
tests/test_cli.py:185
Methodtest_unreleased_section_at_end_of_file
Test replacement when unreleased section is at the end of file.
tests/test_incremental_build.py:278
Functiontest_update_version_in_files
(version_files, file_regression)
tests/test_bump_update_version_in_files.py:102
Functiontest_update_version_in_files_return_value
Test that update_version_in_files returns the correct list of updated files.
tests/test_bump_update_version_in_files.py:342
Functiontest_update_version_in_files_return_value_partial_update
Test return value when only some files are updated.
tests/test_bump_update_version_in_files.py:365
Functiontest_update_version_in_files_with_check_consistency_true
Test update_version_in_files with check_consistency=True (success case).
tests/test_bump_update_version_in_files.py:260
Functiontest_update_version_in_files_with_check_consistency_true_failure
Test update_version_in_files with check_consistency=True (failure case).
tests/test_bump_update_version_in_files.py:280
Functiontest_update_version_in_files_with_different_encodings
Test update_version_in_files with different encodings.
tests/test_bump_update_version_in_files.py:314
Functiontest_update_version_in_globbed_files
(commitizen_config_file, file_regression)
tests/test_bump_update_version_in_files.py:236
Methodtest_uses_pre_commit_when_only_pre_commit_is_installed
( self, mocker: MockFixture, config: BaseConfig, tmp_path, monkeypatch )
tests/commands/test_init_command.py:334
Methodtest_uses_prek_when_only_prek_is_installed
( self, mocker: MockFixture, config: BaseConfig, tmp_path, monkeypatch )
tests/commands/test_init_command.py:281
Functiontest_uv_provider
( config: BaseConfig, tmp_path, monkeypatch, file_regression: FileRegressionFixture, pypro
tests/providers/test_uv_provider.py:88
Functiontest_valid_cp1250_encoded_strings
Pick a random, non-utf8 encoding to test.
tests/test_cmd.py:38
Functiontest_valid_tag_included_in_changelog
(test_input)
tests/test_changelog.py:597
Functiontest_valid_utf8_encoded_strings
(s: str)
tests/test_cmd.py:18
Functiontest_version_bump_increase_string_length
( multiple_versions_increase_string, file_regression )
tests/test_bump_update_version_in_files.py:161
Functiontest_version_bump_reduce_string_length
( multiple_versions_reduce_string, file_regression )
tests/test_bump_update_version_in_files.py:177
Functiontest_version_for_showing_both_versions
(config, capsys)
tests/commands/test_version_command.py:60
Functiontest_version_for_showing_both_versions_no_project
(config, capsys)
tests/commands/test_version_command.py:50
Functiontest_version_for_showing_commitizen_system_info
(config, capsys)
tests/commands/test_version_command.py:73
Functiontest_version_for_showing_commitizen_version
(config, capsys, project: bool)
tests/commands/test_version_command.py:41
Functiontest_version_for_showing_project_version
(config, capsys)
tests/commands/test_version_command.py:30
Functiontest_version_for_showing_project_version_error
(config, capsys)
tests/commands/test_version_command.py:20
Functiontest_version_increment_comparison_order
The enum provides semantic ordering instead of string ordering.
tests/test_version_increment.py:109
Functiontest_version_increment_from_value
Unknown values fall back to NONE instead of raising.
tests/test_version_increment.py:97
Functiontest_version_increment_max_uses_semantic_order
max() chooses the highest semantic increment across mixed values.
tests/test_version_increment.py:116
Functiontest_version_increment_str
String conversion preserves the legacy enum names.
tests/test_version_increment.py:104
Functiontest_version_invalid_combinations
Test that certain flag combinations produce errors.
tests/commands/test_version_command.py:176
Functiontest_version_just_major
(config, capsys, version: str, expected_version: str)
tests/commands/test_version_command.py:123
Functiontest_version_just_minor
(config, capsys, version: str, expected_version: str)
tests/commands/test_version_command.py:145
Functiontest_version_just_patch
(config, capsys, version: str, expected_version: str)
tests/commands/test_version_command.py:272
Functiontest_version_next_use_git_commits
USE_GIT_COMMITS derives the next version from commits since the last tag.
tests/commands/test_version_command.py:303
Functiontest_version_next_use_git_commits_filters_before_finding_increment
Commit-derived versions use the same filtering hook as bump.
tests/commands/test_version_command.py:326
Functiontest_version_next_use_git_commits_major_version_zero
major_version_zero uses the zero bump map so no major bump is emitted.
tests/commands/test_version_command.py:407
Functiontest_version_next_use_git_commits_manual_version
USE_GIT_COMMITS also works with an explicit MANUAL_VERSION.
tests/commands/test_version_command.py:371
Functiontest_version_next_use_git_commits_no_commits_raises
No new commits since the last (non-prerelease) tag raises an error.
tests/commands/test_version_command.py:445
Functiontest_version_next_use_git_commits_no_pattern_map_raises
A rule that does not support bumping raises NoPatternMapError.
tests/commands/test_version_command.py:500
← previousnext →901–1,000 of 1,032, ranked by callers