Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.2 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.2 KB

Apex Mockery hands on material

Welcome to the Apex Mockery hands on material repository This repository contains everything you need to have and to do to go through the hands on training.

Prerequisites

  • git
  • sfdx
  • VS Code with Salesforce Extension Pack installed

Pre hands on tasks

  1. Create an org (trailhead playground or Developer org)
  2. Clone this repository
  3. Open the repository with VS Code
  4. Configure VS Code so sfdx use the org created as default org
  5. Deploy sources : sfdx force:source:deploy -p force-app

Hands on walkthrough

Resources can be found in the apex-mockery repository:

  • Samples can be found in the recipes
  • library APIs can be found in the Usage

Step 1

Follow instructions from AccountServiceTestExercise1.cls

Step 2

Follow instructions from AccountServiceTestExercise2.cls

Step 3

Follow instructions from AccountServiceTestExercise3.cls