···21## Development
2223Requires Go v1.24+
000000000000000
···21## Development
2223Requires Go v1.24+
24+25+### Testing
26+27+#### Handlers
28+29+The command handlers (`cmd/handlers/`) use a multi-layered testing approach for happy and error paths:
30+31+- Environment Isolation
32+ - Tests manipulate environment variables to simulate configuration failures
33+- File System Simulation
34+ - By creating temporary directories with controlled permissions, tests verify that handlers properly handle file system errors like read-only directories, missing files, and permission denied scenarios.
35+- Data Corruption Testing
36+ - Tests intentionally corrupt database schemas and configuration files to ensure handlers detect and report data integrity issues.
37+- Table-Driven Error Testing
38+ - Systematic testing of multiple error scenarios using structured test tables