brewlog/tests
copilot-swe-agent[bot] 94c2403370
test(cli): add initial CLI test infrastructure
- Create tests/cli directory with test modules for roasters, roasts, and tokens
- Add helper functions for spawning test servers and running CLI commands
- Add portpicker and tempfile dev dependencies for CLI tests
- Tests demonstrate expected behavior but need CLI refinements to fully work:
  * CLI commands need --server flag or better env variable handling
  * create-token needs non-interactive mode for testing
  * Commands should support --json output format for easier parsing

Infrastructure is ready for completion once CLI improvements are made

Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com>
2025-11-25 16:28:14 +00:00
..
cli test(cli): add initial CLI test infrastructure 2025-11-25 16:28:14 +00:00
server test(server): fix broken tests by adding authentication support 2025-11-25 16:28:13 +00:00