Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/commitizen-tools/commitizen
/ functions
Functions
1,032 in github.com/commitizen-tools/commitizen
⨍
Functions
1,032
◇
Types & classes
134
↳
Endpoints
30
Function
test_guess_format
(format: type[ChangelogFormat])
tests/test_changelog_formats.py:21
Function
test_guess_format_unknown
(filename: str)
tests/test_changelog_formats.py:28
Function
test_ignored_version_tag_is_not_version_tag
(capsys: pytest.CaptureFixture)
tests/test_changelog.py:1594
Function
test_info
(config)
tests/test_cz_jira.py:34
Function
test_info
(config)
tests/test_cz_customize.py:639
Function
test_info
just testing a string is returned. not the content
tests/test_cz_conventional_commits.py:171
Function
test_info_unicode
(config_with_unicode)
tests/test_cz_customize.py:644
Function
test_info_with_info_path
(tmp_path, monkeypatch, config_info)
tests/test_cz_customize.py:649
Function
test_info_without_info
(config_without_info)
tests/test_cz_customize.py:658
Function
test_init_configuration_settings
Test that all configuration settings are properly initialized.
tests/commands/test_init_command.py:549
Function
test_init_configuration_with_version_provider
Test configuration initialization with a different version provider.
tests/commands/test_init_command.py:580
Method
test_init_empty_config_content
(self, tmp_path, config_file)
tests/test_conf.py:419
Method
test_init_empty_config_content
(self, tmp_path, config_file)
tests/test_conf.py:460
Method
test_init_empty_config_content
(self, tmp_path, config_file)
tests/test_conf.py:486
Method
test_init_empty_config_content_with_existing_content
( self, tmp_path, config_file )
tests/test_conf.py:427
Function
test_init_when_config_already_exists
(config: BaseConfig, capsys)
tests/commands/test_init_command.py:88
Function
test_init_with_confirmed_tag_format
( config: BaseConfig, mocker: MockFixture, tmp_path, monkeypatch )
tests/commands/test_init_command.py:420
Function
test_init_with_existing_tags
( config: BaseConfig, mocker: MockFixture, tmp_path, monkeypatch )
tests/commands/test_init_command.py:492
Method
test_init_with_invalid_config_content
(self, tmp_path, config_file)
tests/test_conf.py:443
Method
test_init_with_invalid_config_content
(self, tmp_path, config_file)
tests/test_conf.py:469
Method
test_init_with_invalid_content
(self, tmp_path, config_file)
tests/test_conf.py:495
Function
test_init_with_no_existing_latest_tag
( config: BaseConfig, mocker: MockFixture, tmp_path, monkeypatch )
tests/commands/test_init_command.py:470
Function
test_init_with_no_existing_tags
( config: BaseConfig, mocker: MockFixture, tmp_path, monkeypatch )
tests/commands/test_init_command.py:447
Function
test_init_with_valid_tag_selection
( config: BaseConfig, mocker: MockFixture, tmp_path, monkeypatch )
tests/commands/test_init_command.py:517
Function
test_init_without_choosing_tag
( config: BaseConfig, mocker: MockFixture, tmp_path, monkeypatch )
tests/commands/test_init_command.py:98
Function
test_init_without_setup_pre_commit_hook
( tmp_path, monkeypatch, mocker: MockFixture, config: BaseConfig )
tests/commands/test_init_command.py:63
Function
test_initialize_cz_customize_failed
()
tests/test_cz_customize.py:379
Function
test_invalid_bytes
()
tests/test_cmd.py:44
Function
test_invalid_command
(util: UtilFixture, capsys, file_regression, arg)
tests/test_cli.py:59
Function
test_invalid_subject_is_skipped
Fix #510
tests/commands/test_changelog_command.py:1110
Function
test_invalid_tag_included_in_changelog
()
tests/test_changelog.py:603
Function
test_is_initial_tag
Test the _is_initial_tag method behavior.
tests/commands/test_bump_command.py:1525
Function
test_is_overlined_title
(text: str, expected: bool)
tests/test_changelog_format_restructuredtext.py:344
Function
test_is_staging_clean_when_adding_file
()
tests/test_git.py:284
Function
test_is_staging_clean_when_updating_file
()
tests/test_git.py:297
Function
test_is_underlined_title
(text: str, expected: bool)
tests/test_changelog_format_restructuredtext.py:334
Function
test_is_version_tag_accepts_dotless_devrelease_in_custom_tag_format
Regression test for #1614: ``${devrelease}`` accepts both ``dev1`` and ``.dev1`` suffixes when a custom ``tag_format`` splits release and dev
tests/test_tags.py:133
Function
test_is_version_tag_accepts_semver2_prerelease_in_custom_tag_format
Regression test for #1614: a SemVer2-style prerelease segment such as ``rc.0`` (with a literal dot) must be recognised when it appears at the
tests/test_tags.py:106
Function
test_json_provider_handles_various_unicode_characters
JsonProvider should handle a wide range of Unicode characters.
tests/providers/test_base_provider.py:81
Function
test_json_provider_uses_encoding_with_encoding_fixture
JsonProvider should correctly read a JSON file with non-ASCII content.
tests/providers/test_base_provider.py:45
Method
test_latest_version_position_at_unreleased_end
Test behavior when latest_version_position equals unreleased_end.
tests/test_incremental_build.py:529
Method
test_latest_version_position_before_unreleased_start
Test behavior when latest_version_position is before unreleased_start.
tests/test_incremental_build.py:565
Method
test_load_conf
(self, config_files_manager)
tests/test_conf.py:199
Method
test_load_cz_json_not_from_config_argument
(self, tmp_path, monkeypatch)
tests/test_conf.py:227
Method
test_load_cz_yaml_not_from_config_argument
(self, tmp_path, monkeypatch)
tests/test_conf.py:237
Method
test_load_empty_json_from_config_argument
(self, tmpdir)
tests/test_conf.py:258
Method
test_load_empty_pyproject_toml_and_cz_toml_with_config
( self, tmp_path, monkeypatch )
tests/test_conf.py:208
Method
test_load_empty_pyproject_toml_from_config_argument
( self, tmp_path, monkeypatch )
tests/test_conf.py:247
Method
test_load_empty_yaml_from_config_argument
(self, tmpdir)
tests/test_conf.py:266
Method
test_load_pyproject_toml_from_config_argument
(self, tmp_path, monkeypatch)
tests/test_conf.py:218
Function
test_long_answer
(config)
tests/test_cz_conventional_commits.py:73
Function
test_ls
(util: UtilFixture, capsys)
tests/test_cli.py:92
Function
test_manual_edit
(editor, config, mocker: MockFixture, tmp_path)
tests/commands/test_commit_command.py:352
Function
test_manual_edit_keeps_non_ascii_message
The editor file uses `commit_encoding`, or `encoding` if it is not set. The locale encoding is not used. On Windows, it is a legacy code page
tests/commands/test_commit_command.py:385
Function
test_message_template
Test that the message template is properly configured
tests/test_cz_search_filter.py:66
Method
test_metadata_with_none_values
Test behavior when metadata has None values for unreleased positions.
tests/test_incremental_build.py:449
Function
test_monorepo_get_version_tags_filters_sibling_components
``get_version_tags`` keeps only the component's own tags when the repository also contains sibling component tags, as configured in ``docs/tut
tests/test_tags.py:190
Function
test_monorepo_ignored_tag_formats_keep_own_tags
Regression test for the monorepo workflow in ``docs/tutorials/monorepo_guidance.md``. Each component configures a suffixed ``tag_format`` and
tests/test_tags.py:147
Method
test_multiline_new_content
Test behavior with multiline new content.
tests/test_incremental_build.py:414
Function
test_multiple_line_breaker
()
tests/test_cz_utils.py:14
Function
test_multiple_versions_to_bump
( multiple_versions_to_update_poetry_lock, file_regression )
tests/test_bump_update_version_in_files.py:220
Function
test_name
(util: UtilFixture, capsys)
tests/test_cli.py:79
Function
test_name_default_value
(util: UtilFixture, capsys)
tests/test_cli.py:86
Function
test_next_version
( config, capsys, next_increment: str, current_version: str, expected_version: str )
tests/commands/test_version_command.py:225
Function
test_next_version_invalid_version
(config, capsys)
tests/commands/test_version_command.py:252
Function
test_no_argv
(util: UtilFixture, capsys, file_regression)
tests/test_cli.py:46
Method
test_no_blank_line_when_content_ends_with_blank_line
Test that no extra blank line is added when content already ends with blank line.
tests/test_incremental_build.py:349
Method
test_no_env_uses_os_environ
(self, monkeypatch)
tests/test_cmd.py:134
Method
test_no_existing_pre_commit_config
( self, default_choice: str, tmp_path, monkeypatch, config: BaseConfig )
tests/commands/test_init_command.py:181
Method
test_no_unreleased_section_append_to_end
Test appending new content when no unreleased section exists.
tests/test_incremental_build.py:162
Method
test_no_unreleased_section_with_latest_version_position
Test inserting new content at latest_version_position when no unreleased section.
tests/test_incremental_build.py:197
Method
test_no_warn_with_explicit_config_path
Test that no warning is issued when user explicitly specifies config.
tests/test_conf.py:346
Method
test_no_warn_with_no_commitizen_section_in_pyproject_toml_and_cz_toml
( self, tmp_path, monkeypatch, capsys )
tests/test_conf.py:397
Method
test_no_warn_with_single_config_file
Test that no warning is issued when user explicitly specifies config.
tests/test_conf.py:380
Method
test_non_v_tag_format
(self, mocker: MockFixture, config: BaseConfig)
tests/commands/test_init_command.py:404
Function
test_none_increment_exit_is_exception
()
tests/commands/test_bump_command.py:536
Function
test_none_increment_exit_should_be_a_class
()
tests/commands/test_bump_command.py:524
Function
test_none_increment_exit_should_be_expected_exit_subclass
()
tests/commands/test_bump_command.py:528
Function
test_none_increment_exit_should_exist_in_bump
()
tests/commands/test_bump_command.py:532
Function
test_none_increment_should_not_call_git_tag_and_error_code_is_not_zero
( mocker: MockFixture, util: UtilFixture, )
tests/commands/test_bump_command.py:541
Method
test_nonzero_return_code_on_failure
(self)
tests/test_cmd.py:107
Method
test_nonzero_return_code_on_failure
(self)
tests/test_cmd.py:155
Method
test_nonzero_return_code_on_failure
(self)
tests/test_cmd.py:200
Function
test_normalize_argparse_choice_quotes
()
tests/test_cli.py:33
Function
test_npm_provider
( config: BaseConfig, chdir: Path, pkg_lock_content: str, pkg_lock_expected: str, pkg_shri
tests/providers/test_npm_provider.py:97
Function
test_npm_provider_respects_configured_encoding_for_all_files
NpmProvider should use the configured encoding for all files it touches.
tests/providers/test_npm_provider.py:127
Function
test_operation_commit_filters_delegate_to_shared_filter
Operation-specific hooks delegate to a shared custom filter.
tests/test_factory.py:42
Function
test_parse_no_raise
(input_str, expected_result)
tests/test_cli.py:180
Function
test_parse_scope_valid_values
(valid_scope)
tests/test_cz_conventional_commits.py:14
Function
test_parse_subject_invalid_values
(invalid_subject)
tests/test_cz_conventional_commits.py:32
Function
test_parse_subject_valid_values
(valid_subject)
tests/test_cz_conventional_commits.py:27
Function
test_parse_title_type_of_line
( line_from_changelog: str, output_title: str, format: Textile )
tests/test_changelog_format_textile.py:144
Function
test_parse_title_type_of_line
( line_from_changelog: str, output_title: str, format: AsciiDoc )
tests/test_changelog_format_asciidoc.py:151
Function
test_parse_title_type_of_line
( line_from_changelog: str, output_title: str, format: Markdown )
tests/test_changelog_format_markdown.py:151
Function
test_partial_update_of_file
(version_repeated_file, file_regression)
tests/test_bump_update_version_in_files.py:119
Function
test_pep440_implement_version_protocol
()
tests/test_version_scheme_pep440.py:1321
Function
test_pep440_scheme_property
()
tests/test_version_scheme_pep440.py:1316
Method
test_pre_commit_config_without_cz_hook
( self, default_choice: str, tmp_path, monkeypatch, config: BaseConfig )
tests/commands/test_init_command.py:200
Function
test_prevent_prerelease_when_no_increment_detected
( util: UtilFixture, capsys: pytest.CaptureFixture )
tests/commands/test_bump_command.py:581
Function
test_questions
(config)
tests/test_cz_jira.py:4
← previous
next →
801–900 of 1,032, ranked by callers