Skip to content

Expand CLI integration test coverage #6

Description

@cobusgreyling

Summary

Expand CLI integration tests beyond createProgram and initProject. Done since filing: bin-entrypoint.test.ts (symlink-safe npx entrypoint) and Claude Code init test.

Still needed

  • evidence package (non-interactive, fixture project-root)
  • verdict issue (non-interactive)
  • ledger why
  • policy evaluate

Good commands to test

  • evidence package (non-interactive, fixture project-root)
  • verdict issue (non-interactive)
  • ledger why
  • policy evaluate

References

  • Fixtures: examples/full-factory/fixtures/
  • Existing tests: packages/cli/src/*.test.ts
  • Done: packages/cli/src/bin-entrypoint.test.ts

Acceptance criteria

  • At least 3 new command integration tests (evidence, verdict, ledger, or policy)
  • Tests use temp dirs or fixtures; no interactive TUI
  • pnpm test passes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions