Skip to content

tests: add CLI smoke tests for auth/config commands #9

@shrey16

Description

@shrey16

Goal

Add CLI smoke tests for the auth/config commands that are easiest to regress.

Suggested coverage

  • bharatcode --help includes BharatCode-first copy.
  • bharatcode doctor reports missing auth without crashing.
  • config command preserves existing plugin entries and appends bharatcode.
  • launch path clears explicit API-key env vars before spawning the engine.

Acceptance

  • Tests run with npm test.
  • Tests do not open a real browser or require real OAuth credentials.
  • No secrets or private paths are committed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: authAuthentication, sessions, and credential handlingarea: testsTests and automated verificationhelp wantedGood candidate for external contribution

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions