GeneralWritten for the boardroom
Apex Integration Testing Arrives in Salesforce Summer '26
Summer '26 adds Apex integration testing, but it is a Developer Preview limited to scratch orgs and a few services.
- The feature is in Developer Preview, works only in scratch orgs, and covers interactions with Data 360 and Agentforce only.
- Integration tests use the @IntegrationTest annotation and commit changes, so teardown methods matter. Bob Buzzard warns that a failing teardown fails the test and can…
- Only one integration test can run in an org at a time, tests run asynchronously, and Apex governor limits still apply.
Why it matters: Write teardown code defensively from the start, since failed teardowns leave data in an unknown state, and watch for wider org and endpoint support as the feature matures.
Read the original at bobbuzzard.blogspot.com ↗ (opens in a new tab)Saturday Admin links to the source rather than copying it.