"#1 SMP PREEMPT_DYNAMIC Tue Sep  9 12:21:26 UTC 2025"
"handle_null returns original value for non-NULL"
"convert_number_to_abbreviation handles NA and non-numeric"
"safe_value returns character for small numbers"
"generate_coverage_section calls create_file_coverage_df when errors have expected structure"
"generate_coverage_section handles NA errors and notes"
"generate_test_report returns message when directory does not exist"
"generate_test_report creates an HTML report"
"generate_coverage_section handles unexpected errors structure (character)"
"generate_coverage_section returns NA-row when filecoverage is NULL"
"create_file_coverage_df works correctly with toy dataset"
"convert_vectors_to_df returns named list of data frames for existing elements"
"convert_vectors_to_df filters out non-existent elements"
"convert_vectors_to_df returns empty list when no elems exist"
"convert_vectors_to_df handles empty vectors and NA values"
"convert_vectors_to_df preserves element order as in 'elems' after filtering to existing names"
"convert_vectors_to_df works with non-character vectors by coercion (data.frame behavior)"
"convert_vectors_to_df handles elems = character(0)"
"convert_vectors_to_df handles list with additional names without affecting result"
"returns NULL with message when rmarkdown is not available"
"standard testing framework (nstf_none) uses STF template and renders"
"non-standard testing framework (nstf present) uses NSTF template and processes data frames"
"uses getwd() and emits message when output_dir is NULL"
"errors when required columns are missing"
"parses file without '#' and returns NA start_line"
"extracts start_line from after '#' up to the first underscore"
"trailing '#' with empty after_hash yields NA start_line"
"filters only rows with status == PASS (case and whitespace tolerant)"
"using mockery::stub to override sub allows testing parsing branches"
# value doesn't matter because sub is stubbed
"stubbing grepl to FALSE simulates no '#' present and results in NA start_line"
# original string contains '#', but grepl is stubbed
"errors when only some required columns are present"
"processes valid dataframe with all required columns"
"extracts portion before '#' from file column"
"handles file names without '#' separator"
"converts input columns to character type"
"returns dataframe with correct column names and order"
"removes row names (resets to default numeric indexing)"
"using mockery::stub to override sub allows testing file parsing"
"stubbing sub to identity preserves full file path including '#'"
"handles empty/whitespace in expectation and status columns"
"handles special characters in expectation column"
"line1 column is directly assigned to start_line without modification"
"stringsAsFactors=FALSE is handled correctly for character conversion"
"handles very long file paths and special delimiters"
"stubbing as.character allows testing type coercion behavior"

uses getwd() and emits message when output_dir is NULL