Skip to content

feat: API parity test framework for sf CLI comparison - #16

Merged
razkevich merged 1 commit into
mainfrom
008-api-parity
Apr 9, 2026
Merged

razkevich merged 1 commit into
mainfrom
008-api-parity

Conversation

@razkevich

Copy link
Copy Markdown
Owner

Summary

  • Shell-based framework comparing sf_localstack responses against real Salesforce orgs
  • 5 test categories: REST CRUD (5 tests), Describe (5), Query (6), Errors (5), Bulk (4)
  • JSON normalization via jq, per-test diff files, severity-classified gap report
  • PARITY_TEST_ prefix with cleanup for all test records

Usage

./parity-tests/run-parity.sh dev20        # all categories
./parity-tests/run-parity.sh dev20 rest   # specific category

Test plan

  • All 7 scripts pass bash -n syntax check
  • All scripts executable
  • Manual: run against dev20 org with sf_localstack running locally

🤖 Generated with Claude Code

Shell-based framework comparing sf_localstack against real Salesforce orgs:
- run-parity.sh: main entry point with prereq checks and category dispatch
- 5 test categories: rest-crud, describe, query, errors, bulk
- JSON normalization via jq (strips dynamic IDs/timestamps)
- Per-test diff files + consolidated markdown gap report
- PARITY_TEST_ prefix convention with cleanup
- Severity classification: Critical/Major/Minor

Usage: ./parity-tests/run-parity.sh dev20 [rest|describe|query|errors|bulk]

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@razkevich
razkevich merged commit 60f1027 into main Apr 9, 2026
@razkevich
razkevich deleted the 008-api-parity branch April 9, 2026 11:40
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