Skip to content

test(cli): add comprehensive CLI integration tests#8

Merged
Coding-Dev-Tools merged 1 commit into
mainfrom
Openclaw/json2sql/add-cli-tests
May 18, 2026
Merged

test(cli): add comprehensive CLI integration tests#8
Coding-Dev-Tools merged 1 commit into
mainfrom
Openclaw/json2sql/add-cli-tests

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

Add 18 CLI tests covering the full json2sql command surface:

  • Basic convert commands (file, table name, dialects, output file)
  • Flatten and schema-only options
  • Stdin input and error cases (missing file, bad JSON, bad dialect)
  • Version command
  • Edge cases (array of objects, empty array, booleans, nulls)

Bumps CLI coverage from 0% to 80% and overall coverage from 73% to 89%.

Add 18 CLI tests covering the full json2sql command surface:
- Basic convert commands (file, table name, dialects, output file)
- Flatten and schema-only options
- Stdin input and error cases (missing file, bad JSON, bad dialect)
- Version command
- Edge cases (array of objects, empty array, booleans, nulls)

Bumps CLI coverage from 0% to 80% and overall coverage from 73% to 89%.
@Coding-Dev-Tools Coding-Dev-Tools merged commit d309fdd into main May 18, 2026
3 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.

1 participant