Coverage for 000707cdf62b85bc58a9a7351800b3bde5ffb5c3:
100%
hide covered
Files
Functions
Classes
coverage.py v7.11.2
, created at 2026-11-04 19:57 +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
17
0
0
100%
src/fastapi_new/new.py
_install_dependencies
6
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
2
0
0
100%
tests/test_new.py
_assert_project_created
3
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
9
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_10
4
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
4
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)
25
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
333
0
0
100%
No items found using the specified filter.