Skip to content

feat: add CLI integration tests for all subcommands (#139)#183

Merged
Mac-5 merged 4 commits intoSynapse-bridgez:developfrom
rayeberechi:feature/issue-85-cli-tests
Feb 26, 2026
Merged

feat: add CLI integration tests for all subcommands (#139)#183
Mac-5 merged 4 commits intoSynapse-bridgez:developfrom
rayeberechi:feature/issue-85-cli-tests

Conversation

@rayeberechi
Copy link
Copy Markdown

This PR adds a suite of integration tests for the synapse-core CLI as requested in #85.

Key Improvements:

  • Uses assert_cmd for reliable binary execution testing.
  • Verifies command structure for config, db, backup, and tx.
  • Includes environment mocking to ensure tests remain stable across different environments.
  • Added validation tests for transaction UUID inputs.

Closes #139

@rayeberechi rayeberechi changed the base branch from main to develop February 26, 2026 00:20
@Mac-5 Mac-5 self-requested a review February 26, 2026 10:17
@Mac-5 Mac-5 merged commit 937d7f5 into Synapse-bridgez:develop Feb 26, 2026
0 of 5 checks passed
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.

CLI Command Integration Tests

2 participants