Borg/cmd
google-labs-jules[bot] 74b7ba25a3 feat: Add TDD tests with mocking for collect commands
This commit introduces a TDD testing framework for the `collect` commands.

- A `TDD/` directory has been added to house the tests.
- 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.
2025-11-02 17:57:09 +00:00
..
all.go refactor: Improve code quality, testability, and CI 2025-11-02 01:54:23 +00:00
collect.go feat: Add authenticated GitHub access and structured logging 2025-11-02 00:59:46 +00:00
collect_github.go feat: Add collect github command and resolve merge conflict 2025-11-01 22:22:32 +00:00
collect_github_release_subcommand.go refactor: Improve code quality, testability, and CI 2025-11-02 01:54:23 +00:00
collect_github_repo.go feat: Add TDD tests with mocking for collect commands 2025-11-02 17:57:09 +00:00
collect_github_repos.go feat: Add TDD tests with mocking for collect commands 2025-11-02 17:57:09 +00:00
collect_pwa.go feat: Add TDD tests with mocking for collect commands 2025-11-02 17:57:09 +00:00
collect_website.go feat: Add TDD tests with mocking for collect commands 2025-11-02 17:57:09 +00:00
main_test.go feat: Add authenticated GitHub access and structured logging 2025-11-02 00:59:46 +00:00
root.go feat: Add TDD tests with mocking for collect commands 2025-11-02 17:57:09 +00:00
serve.go feat: Add optional compression to collect commands 2025-11-02 13:27:04 +00:00