Skip to content

test: add integration tests for --help and --version#311

Closed
manimovassagh wants to merge 1 commit intomicrosoft:mainfrom
manimovassagh:add-cli-integration-tests
Closed

test: add integration tests for --help and --version#311
manimovassagh wants to merge 1 commit intomicrosoft:mainfrom
manimovassagh:add-cli-integration-tests

Conversation

@manimovassagh
Copy link

@manimovassagh manimovassagh commented Mar 20, 2026

The test suite currently only covers open + delete-data. This adds two more integration tests for basic CLI flags:

  • --help — verifies the help output includes expected commands (open, snapshot, close)
  • --version — verifies a version string is printed

Both use the existing runCli() helper and don't require a browser session, so they're fast and lightweight.

The test suite only covered `open` + `delete-data`. This adds coverage
for basic CLI flags that don't require a browser session.
@manimovassagh manimovassagh force-pushed the add-cli-integration-tests branch from 49fc3bd to 12b9e7e Compare March 20, 2026 23:13
@manimovassagh manimovassagh changed the title test: add integration tests for --help, --version, and install --skills test: add integration tests for --help and --version Mar 20, 2026
Copy link
Member

@yury-s yury-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already a bunch of cli tests including those that cover help, e.g. tests/mcp/cli-help.spec.ts

@yury-s yury-s closed this Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants