Coverage for b6e71b2b4c44c8bac5d4350e844943a72d075604: 100%

Files Functions Classes

coverage.py v7.17.2, created at 2026-12-05 11:35 +0000

File function   statements missing excluded   coverage
src/fastapi_new/__init__.py (no function)   1 0 0   100%
src/fastapi_new/__main__.py (no function)   2 0 0   100%
src/fastapi_new/cli.py main   1 0 0   100%
src/fastapi_new/cli.py (no function)   5 0 0   100%
src/fastapi_new/new.py _generate_readme   1 0 0   100%
src/fastapi_new/new.py _exit_with_error   2 0 0   100%
src/fastapi_new/new.py _validate_python_version   12 0 0   100%
src/fastapi_new/new.py _setup   16 0 0   100%
src/fastapi_new/new.py _install_dependencies   8 0 0   100%
src/fastapi_new/new.py _write_template_files   7 0 0   100%
src/fastapi_new/new.py new   38 0 0   100%
src/fastapi_new/new.py (no function)   21 0 0   100%
src/fastapi_new/utils/cli.py FastAPIStyle.__init__   1 0 0   100%
src/fastapi_new/utils/cli.py get_rich_toolkit   3 0 0   100%
src/fastapi_new/utils/cli.py (no function)   7 0 0   100%
tests/__init__.py (no function)   0 0 0   100%
tests/test_cli.py test_script   2 0 0   100%
tests/test_cli.py (no function)   3 0 0   100%
tests/test_main.py test_version_var_exists   1 0 0   100%
tests/test_main.py (no function)   2 0 0   100%
tests/test_new.py temp_project_dir   4 0 0   100%
tests/test_new.py _assert_project_created   6 0 0   100%
tests/test_new.py _assert_project_runs   5 0 0   100%
tests/test_new.py test_creates_project_successfully   6 0 0   100%
tests/test_new.py test_creates_project_with_python_version   11 0 0   100%
tests/test_new.py test_runs_project_with_current_python   8 0 0   100%
tests/test_new.py test_validates_template_file_contents   12 0 0   100%
tests/test_new.py test_initializes_in_current_directory   4 0 0   100%
tests/test_new.py test_initializes_in_current_directory_with_dot   6 0 0   100%
tests/test_new.py test_rejects_existing_directory   5 0 0   100%
tests/test_new.py test_rejects_python_below_3_11   5 0 0   100%
tests/test_new.py test_passes_single_digit_python_version_to_uv   4 0 0   100%
tests/test_new.py test_passes_malformed_python_version_to_uv   2 0 0   100%
tests/test_new.py test_creates_project_without_python_flag   7 0 0   100%
tests/test_new.py test_help_shows_minimum_python_version   3 0 0   100%
tests/test_new.py test_failed_to_initialize_with_uv   5 0 0   100%
tests/test_new.py test_failed_to_initialize_with_uv.mock_run   2 0 0   100%
tests/test_new.py test_failed_to_add_dependencies   5 0 0   100%
tests/test_new.py test_failed_to_add_dependencies.mock_run   2 0 0   100%
tests/test_new.py test_file_write_failure   6 0 0   100%
tests/test_new.py test_file_write_failure.mock_write_text   3 0 0   100%
tests/test_new.py test_uv_not_installed   5 0 0   100%
tests/test_new.py (no function)   32 0 0   100%
tests/test_prepare_release.py test_bump_version   1 0 0   100%
tests/test_prepare_release.py test_update_version_file   3 0 0   100%
tests/test_prepare_release.py test_update_version_file_requires_newer_version   3 0 0   100%
tests/test_prepare_release.py test_update_release_notes   3 0 0   100%
tests/test_prepare_release.py test_update_release_notes_rejects_existing_version   3 0 0   100%
tests/test_prepare_release.py test_get_release_notes_body_with_dated_heading   3 0 0   100%
tests/test_prepare_release.py test_get_release_notes_body_with_plain_heading   3 0 0   100%
tests/test_prepare_release.py test_get_release_notes_body_allows_non_version_h2_content   3 0 0   100%
tests/test_prepare_release.py test_get_release_notes_body_requires_version_section   3 0 0   100%
tests/test_prepare_release.py test_get_release_notes_body_requires_non_empty_section   3 0 0   100%
tests/test_prepare_release.py test_cli_updates_configured_files   10 0 0   100%
tests/test_prepare_release.py test_cli_accepts_env_vars   14 0 0   100%
tests/test_prepare_release.py test_cli_prints_current_version   6 0 0   100%
tests/test_prepare_release.py test_cli_prints_release_notes   8 0 0   100%
tests/test_prepare_release.py (no function)   21 0 0   100%
Total     368 0 0   100%

No items found using the specified filter.