Apex Mocking And Stubs

Use when choosing or implementing Apex test doubles with `Test.setMock`, `HttpCalloutMock`, `StaticResourceCalloutMock`, or `StubProvider`, and when designing code seams to support those doubles cleanly. Triggers: 'StubProvider', 'Test.createStub', 'HttpCalloutMock', 'StaticResourceCalloutMock', 'mocking infrastructure'. NOT for general Apex test design outside the mocking and seam problem.

BanibrataChatterjee Updated

File contents

BanibrataChatterjee/AwesomeSalesforceSkills/tree/main/skills/apex/apex-mocking-and-stubs commit 8f4ec1d1c0

Frequently asked questions

npx skillmds@latest add banibratachatterjee/apex-mocking-and-stubs