Skip to content

[Customer Support] Coverage test with real data#2997

Merged
jlimatampersand merged 1 commit into
mainfrom
read/sf-apex-coverage
May 14, 2026
Merged

[Customer Support] Coverage test with real data#2997
jlimatampersand merged 1 commit into
mainfrom
read/sf-apex-coverage

Conversation

@jlimatampersand
Copy link
Copy Markdown
Contributor

@jlimatampersand jlimatampersand commented May 14, 2026

Initially, our approach when testing Apex coverage was to use dummy data to cover the test. However, each different field has a different field integrity setting, e.g., eg) some fields are required and some are not, and we could not account for that fact with dummy data.

This PR is updating the test script to use real existing data from the actual org's instance so that we don't run into failures related to dummy data.

Test Result

Screenshot 2026-05-14 at 12 24 09 PM Screenshot 2026-05-14 at 12 28 37 PM

@jlimatampersand jlimatampersand changed the title coverage test with real data [Customer Support] Coverage test with real data May 14, 2026
Comment thread providers/salesforce/internal/crm/metadata/apextrigger.go
Comment thread providers/salesforce/internal/crm/metadata/apextrigger.go
@jlimatampersand jlimatampersand enabled auto-merge (squash) May 14, 2026 19:31
@jlimatampersand jlimatampersand merged commit 9374cd5 into main May 14, 2026
6 checks passed
@jlimatampersand jlimatampersand deleted the read/sf-apex-coverage branch May 14, 2026 19:32
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