Coverage report:
100%
hide covered
Files
Functions
Classes
coverage.py v7.9.1
, created at 2025-06-13 11:02 -0700
File
function
statements
missing
excluded
branches
partial
coverage
src/regex_template/__init__.py
compile
16
0
0
10
0
100%
src/regex_template/__init__.py
(no function)
6
0
0
0
0
100%
tests/__init__.py
(no function)
0
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithRegularStrings.test_compile_rejects_regular_string
2
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithRegularStrings.test_compile_rejects_various_types
6
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithRegularStrings.test_error_message_suggests_re_compile
2
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_basic
4
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_with_flags
5
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_verbose_mode_default
4
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_verbose_mode_disabled
3
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_empty_interpolation
3
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_regex_special_chars_safe
4
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_auto_escape
4
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_mixed_pattern
4
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_safe_format_spec
6
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_format_specifiers
4
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_format_spec_then_escape
3
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_conversion_specifiers
3
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_multiple_interpolations
7
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_verbose_mode
5
0
0
0
0
100%
tests/test_regex_template.py
TestCompileWithTStrings.test_compile_tstring_numeric_interpolation
4
0
0
0
0
100%
tests/test_regex_template.py
TestSafeFormatSpecifier.test_safe_regex_patterns
5
0
0
0
0
100%
tests/test_regex_template.py
TestSafeFormatSpecifier.test_safe_vs_escaped_comparison
6
0
0
0
0
100%
tests/test_regex_template.py
TestSafeFormatSpecifier.test_safe_with_other_format_specs
6
0
0
0
0
100%
tests/test_regex_template.py
TestRegexFlags.test_custom_flags
5
0
0
0
0
100%
tests/test_regex_template.py
TestRegexFlags.test_verbose_flag_override
6
0
0
0
0
100%
tests/test_regex_template.py
TestRegexFlags.test_multiline_flag
4
0
0
0
0
100%
tests/test_regex_template.py
TestEdgeCases.test_literal_braces_in_template
3
0
0
0
0
100%
tests/test_regex_template.py
TestEdgeCases.test_complex_regex_with_interpolation
5
0
0
0
0
100%
tests/test_regex_template.py
TestEdgeCases.test_nested_quantifiers
6
0
0
0
0
100%
tests/test_regex_template.py
TestEdgeCases.test_interpolation_with_backslashes
4
0
0
0
0
100%
tests/test_regex_template.py
TestEdgeCases.test_unicode_in_interpolation
3
0
0
0
0
100%
tests/test_regex_template.py
TestEdgeCases.test_very_long_interpolation
4
0
0
0
0
100%
tests/test_regex_template.py
TestEdgeCases.test_multiple_safe_interpolations
7
0
0
0
0
100%
tests/test_regex_template.py
TestEdgeCases.test_mixed_safe_and_escaped
5
0
0
0
0
100%
tests/test_regex_template.py
TestErrorHandling.test_invalid_format_spec
3
0
0
0
0
100%
tests/test_regex_template.py
TestErrorHandling.test_compilation_errors
3
0
0
0
0
100%
tests/test_regex_template.py
TestErrorHandling.test_tstring_compilation_errors
3
0
0
0
0
100%
tests/test_regex_template.py
TestPropertyBasedTests.test_escaped_text_matches_literally
2
0
0
0
0
100%
tests/test_regex_template.py
TestPropertyBasedTests.test_safe_text_without_special_chars
4
0
0
0
0
100%
tests/test_regex_template.py
TestPropertyBasedTests.test_numeric_interpolation
2
0
0
0
0
100%
tests/test_regex_template.py
TestPropertyBasedTests.test_alphabetic_interpolation
2
0
0
0
0
100%
tests/test_regex_template.py
(no function)
55
0
0
0
0
100%
Total
238
0
0
10
0
100%
No items found using the specified filter.