Borg/pkg
google-labs-jules[bot] 7adfff1d0d feat: Add TDD framework and fix build error
This commit introduces a TDD testing framework for the `collect` commands and resolves a build failure.

- A `TDD/` directory has been added to house tests for the `collect` commands.
- An environment variable `BORG_PLEXSUS=0` has been implemented to enable a mock mode, which prevents external network calls during testing.
- The `collect` commands have been updated to use the command's output streams, allowing for output capturing in tests.
- A `pkg/mocks` package has been added to provide mock implementations for testing.
- The `.gitignore` file has been updated to exclude generated `.datanode` files.
- The "flag redefined" build error has been fixed by refactoring the root command initialization in `cmd/root.go` to prevent duplicate flag definitions.
2025-11-02 18:11:04 +00:00
..
compress feat: Add optional compression to collect commands 2025-11-02 13:27:04 +00:00
datanode feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
github feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
logger feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
matrix feat: Add Terminal Isolation Matrix feature 2025-11-02 12:39:46 +00:00
mocks feat: Add TDD tests with mocking for collect commands 2025-11-02 17:57:09 +00:00
pwa feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
tarfs feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
ui feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00
vcs feat: Add TDD tests with mocking for collect commands 2025-11-02 17:57:09 +00:00
website feat: Add TDD framework and fix build error 2025-11-02 18:11:04 +00:00