bfiles
2025-05-02
Comprehensive test suite added and core, CLI, config stabilized; bundle output artifacts removed
53 files · 1,889+ · 5,805-
Test suite expansion
6 files changed
test_cli.py195 lines of comprehensive CLI command teststest_core.py224 lines of core bundling logic teststest_exclusions.py109 lines of exclusion pattern matching teststest_output.py113 lines of output formatting and summary table teststest_metadata_writer.py93 lines of metadata writing teststest_config.pySignificantly expanded with additional coverage
- Added
tests/test_cli.py(195 lines) — comprehensive CLI command tests qualify behavioral1 file
test_cli.py
- Added
tests/test_core.py(224 lines) — core bundling logic tests with iterative refinements qualify internal1 file
test_core.py
- Added
tests/test_exclusions.py(109 lines) — exclusion pattern matching tests qualify internal1 file
test_exclusions.py
- Added
tests/test_output.py(113 lines) — output formatting and summary table tests qualify errata1 file
test_output.py
- Added
tests/test_metadata_writer.py(93 lines) — metadata writing tests qualify internal1 file
test_metadata_writer.py
- Significantly reworked
tests/test_config.pywith expanded coverage qualify internal1 file
test_config.py
Test fixtures infrastructure
7 files changed
cli.pyShared CLI test fixturesconfig.pyShared config test fixturescore.pyShared core test fixturesexclusions.pyShared exclusions test fixturesmetadata.pyShared metadata test fixturesoutput.pyShared output test fixturesfilesComplete sample project directories for fixture-based testing
- Added
tests/fixtures/cli.py,config.py,core.py,exclusions.py,metadata.py,output.py— shared fixture modules qualify behavioral6 files
cli.pyconfig.pycore.pyexclusions.pymetadata.pyoutput.py
- Created complete sample project directories under
tests/fixtures/files/: qualify internal1 file
files
Core improvements
1 file changed
core.pyMajor refactoring with 647 lines of changes — improved file processing pipeline, better error handling, and statistics tracking
CLI refinements
1 file changed
cli.pyImproved argument handling and error output
- Reworked CLI with improved argument handling and error output
decouple
behavioral
1 file
cli.py
Configuration updates
1 file changed
config.py124 lines of changes refining default patterns and config validation
- 124 lines of changes refining default patterns and config validation
baseline
behavioral
1 file
config.py
Metadata
1 file changed
metadata.pyAdded error to valid file operations in FileMetadata
- Added “error” to valid file operations in
FileMetadatainstantiate internal1 file
metadata.py
Cleanup
4 files changed
bfiles-20250501-214042.txtRemoved accidentally committed 5066-line bundle outputREADME.mdRemoved old 240-line README to be rewrittenbfRemoved bf wrapper script20250502-1848-gemini-debugging.mdAdded Gemini debugging session notes
- Removed accidentally committed
bfiles-20250501-214042.txt(5066 lines) decouple internal1 file
bfiles-20250501-214042.txt
- Removed old
README.md(240 lines — to be rewritten) specify architectural1 file
README.md
- Removed
scripts/bfwrapper decouple internal1 file
bf
- Added Gemini debugging notes (
docs/dev/20250502-1848-gemini-debugging.md) specify internal1 file
20250502-1848-gemini-debugging.md